Posted on 30/11/2016 10:03:06
Hi Hans
It is not a simple task.
If you need to secure the entire communication line you need to do at least these things:
- Use SSL on the website (To ensure form post is send encrypted to the server)
- Aquire a certificate for signing the mail (can be done in a notification subscriber) - but you need the certificate to be installed on the server (maybe also aquired from)
- Encrypt the mail using code
- Send the mail using a TLS (you can do that using Sendgrid and other providers)
- Dynamicweb stores form values in the database unencrypted. You have to validate that is ok - if not, find a way to handle that.
If it is not strictly needed to send an email with the content, but merely an email with a link to that content (that is then kept behind login and SSL), the job could be more simple. Then you can do it only using a SSL certificate on the server - and in that way not rely on custom code.
BR Nicolai