Page 1 of 1

Can I send encrypted emails with SwiftMailer? How?

Posted: Sat Mar 14, 2009 4:10 am
by johnsmith153
I need to send emails from PHP that contain passwords.

Can I do it with SwithMailer?

How would I do it?

I have never used SwiftMailer before, so I would appreciate a detailed answer.

I have been trying to get the answer for this for ages, but all people tell me on other forums is:
1) "Authenticate direct to SMTP"
2) "Just use Direct Send"

yes - these are their full answers - which just isn't going to help me.

Thanks in advance.

Re: Can I send encrypted emails with SwiftMailer? How?

Posted: Sat Mar 14, 2009 8:35 am
by Chris Corbyn
Swift Mailer supports sending over an encrypted communication channel (i.e. secure SMTP) but it doesn't support signed/encrypted messages just yet. It's coming in 4.1. Xavier has working versions of DKIM/DomainKeys and S/MIME available here:

http://github.com/swiftmailer/swiftmail ... ypto_stuff

I can't tell you how it works however since I didn't write this and it's in its very early stages. It will be more complete in Swift 4.1 which is several months away at least.

Sorry if this is not the answer you're looking for.