SMTP Configured. Can invite users, cannot send via...
# help-with-umbraco
a
I Have this weird issue. I've configured some code to send an email via the
IEmailSender
interface. When using my own SMTP details from a gmail account, the service sends the email just fine. Now i've recieved my clients Exchange server info, and the code runs just fine, but the recepient never recieves the email. If i test the invite user to back office flow, with the clients smtp configured, the emails arrive as expected. has anyone ever experienced this?
h
Are they not receiving it at all, or is it getting flagged as spam
a
@huwred I'm not receiving it at all. not in my mail box nor my spam. I have a feeling that it might be my clients internal spam filter, but its weird it can send invitation emails from the CMS but not my custom one
Hmm seems like if i send it to one of their internal mails they recieve it just fine. So it might be configuration in their end
h
Yes that is a bit odd
a
@huwred So apprently the email is getting rejected by some email servers due to wrong line endings. Right now i'll test by eforcing crlf
h
That's a new one to me 🤣
a
Yeah suuuper wierd :S
2 Views