zulip / python-zulip-api

Python library for the Zulip API.
https://zulip.com/api/
Apache License 2.0
350 stars 352 forks source link

Invalid email for valid email #764

Closed Anton-4 closed 1 year ago

Anton-4 commented 1 year ago

I'm getting an invalid email error for a valid email address :shrug: I checked the source code but I was unable to find where the email validation is happening.

zulip-send-error

context: I'm trying to send a private message to the zulip user(me) with the email in the picture, shown as coming from a (generic) bot I just created.

andersk commented 1 year ago

Does your organization have restricted email address visibility turned on? If so, you need to use your display email address userNNNN@roc.zulipchat.com (where NNNN is your user ID) rather than your real email address.

Anton-4 commented 1 year ago

Yes indeed, thank you @andersk!