Kitura / Swift-SMTP

Swift SMTP client
Apache License 2.0
260 stars 60 forks source link

'FROM' header not being sent #135

Closed inferutsers closed 4 months ago

inferutsers commented 5 months ago

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.