Page 1 of 1

S/MIME encryption

Posted: Wed Jul 18, 2007 6:58 am
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

Posted: Fri Jul 20, 2007 7:44 am
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.

Posted: Sat Jul 21, 2007 7:08 pm
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

Posted: Sun Jul 22, 2007 8:32 am
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 :)

Re: S/MIME encryption

Posted: Fri Apr 18, 2008 9:04 am
by lukasus
Hi, is there any progres in case of S/MIME encryption or signing?