zulip / python-zulip-api

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

Invalid email for valid email #764

Closed Anton-4 closed 2 years ago

Anton-4 commented 2 years 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 2 years 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 2 years ago

Yes indeed, thank you @andersk!