Swift-SMTP icon indicating copy to clipboard operation
Swift-SMTP copied to clipboard

'FROM' header not being sent

Open inferutsers opened this issue 1 year ago • 0 comments

Hello, I have a problem. I am creating an SwiftSMTP.Mail.User object and using it as 'from' property of SwiftSMTP.Mail. Everything works fine on the app-side of things. When in debug, the console prints correct mail structure, but when I look at the mail server, the mail itself is being sent without "from" header which causes gmail to reject the mail and not deliver it to the recipient. I have already tried using your package in different project with no luck. I also tried using different mail server. The thing is that it was working for over a year. And now I even downloaded an old, 2-month version of my app from TestFlight on which previously the emails were being sent correctly, only to see that now the problem is present even there.

inferutsers avatar Mar 23 '24 16:03 inferutsers