Is there a way to get MODx to send encrypted email? I’m using eform to capture a user’s info on an SSL page, which will include SSN, and then send via email to someone. Obviously I can’t do that in plain text. I’ve read some about how to use PGP to encrypt emails, but does MODx already have support for encrypted emails? If not, is PGP the best way to do this?
-
☆ A M B ☆
- 24,524 Posts
MODx does not do this natively. Your best bet would be to use a snippet/function and the eFormOnBeforeMailSent event and encrypt work with the fields (the event provides the &$fields array so you can directly manipulate them). You can create a new field ($fields[’encrypted-field’] = ...), organize and encrypt the other fields that you want encrypted, and use that fieldname as the placeholder in your report tpl. Or you could wrap up all the fields you want encrypted and make them an attachment.
ok, thanks...that’s what I was thinking. I wonder if anyone has done this already? Has nobody ever had a need to pass secure information via email?