I’m using Drupal 7 and Webform Module for create contacts forms (This problem also what I have in Pressflow 6).
Only authenticated users can send mail through the form. However, I need that anonymous users can also use the form.
The error is as follows:
Error sending e-mail from sender@email.com to target@mail.edu.pe: SMTP Error: Data not accepted. SMTP server error: 5.7.1 Sender domain not allowed.
How I can make the form send mail with both roles (authenticated and anonymous)? How I can avoid spam for users anonymous?
Details
Each time you use the contact form (either anonymous or authenticated) to send an email to the person responsible of receiving these emails.