I am working on a project for an environmental NGO. They want to let users use a form on their website, provide their name, their email address and select certain emails from a list to send complaints or other contents to city council members or clean-air committee members, and so on.
The form would have these input fields: - Name - Email - Subject line (with default text related to current campaign) - Message (with default text related to current campaign) - Target emails list (the user would check every function/role/person, they'd like the message to be sent to)
The submitted form needs to be sent to the selected addresses with the edited content while setting the header From to the user's Name+Email.
The question is: what needs to be done in order to have this system deliver emails without getting flagged as spam?