S/MIME encryption

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
greyman1956
Forum Newbie
Posts: 2
Joined: Tue Jul 17, 2007 9:27 pm

S/MIME encryption

Post by greyman1956 »

G'day all,

I have not been able to determine if the swiftmailer can support s/mime encryption or not.

How are people encrypting messages with s/mime at present? Is it normal to encrypt using openssl php functions before passing to swiftmailer and then set the mime headers during the swift session? Or is there another way to handle it?

TIA
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Hi S/MIME is something that's planned to be added to Swift. Currently there's no support for it though no.
greyman1956
Forum Newbie
Posts: 2
Joined: Tue Jul 17, 2007 9:27 pm

Post by greyman1956 »

d11wtq wrote:Hi S/MIME is something that's planned to be added to Swift. Currently there's no support for it though no.
Do you have any design notes, guidelines, plans, or other information that can steer me on the path of writing this into swift in such a manner that it could help bring this feature forward?

With more micro companies starting to want online credit card transactions and not having the volume of sales to warrant having a payment gateway account (with all the costs associated with that), a good encrypted web page to email gateway is surely needed.

So I am going to build it into either swift or phpMailer for our customer's use (regardless of whether it gets built into the released version or not). Yours looks like it is more actively maintained. However, phpMailer is used by many of the best of breed OSS applications such as Mambo, PostNuke, Xoops, Moodle, and other CMS and CRM packages.

Do you want help with this feature? And can you help steer me in the right direction so I implement it in a manner consistent with your development plans.

Thanks
Graham
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

I really just wanted a new message class:

Code: Select all

class Swift_Message_SMime extends Swift_Message
{

}
You'd need some methods for setting the certifcate paths etc but that was the direction I was going with it :)
lukasus
Forum Newbie
Posts: 3
Joined: Fri Apr 18, 2008 9:02 am

Re: S/MIME encryption

Post by lukasus »

Hi, is there any progres in case of S/MIME encryption or signing?
Post Reply