Can I send encrypted emails with SwiftMailer? How?

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
johnsmith153
Forum Newbie
Posts: 10
Joined: Thu Feb 14, 2008 6:53 am

Can I send encrypted emails with SwiftMailer? How?

Post 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.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

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

Post 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.
Post Reply