Problems, need help? Have a tip or advice? Post it here.
2 posts Page 1 of 1
Is there a way to get the submitted form data going into the inbox, not the spam folder?

I have added the
Code: Select all
return_path=""
to be the same as the
Code: Select all
from=""
, but it still goes to spam.The
Code: Select all
to=""
is on a separate domain.

Code: Select all
<cms:form enctype="multipart/form-data" method="post">
<cms:if k_success >
<cms:check_spam email=email />
<cms:send_mail html="1" from="email1@email1.com" return_path="email1@email1.com" to="email2@email2.com" subject="Subject" debug="1">
...
</cms:send_mail>
</cms:form>
A few tips -
1. Try switching over to phpMailer - viewtopic.php?f=5&t=10750
2. Make sure that the 'from' parameter is pointing to an email address that belongs to the same domain as the page displaying the form (i.e. your own site). Never set the 'from' with emails submitted by the visitors as these would belong to external domains - use the 'reply_to' parameter instead.

With these changes, if the emails still keep getting marked as spam then chances are your domain has been blacklisted by servers.

If that happens, you may try using some SMTP account (e.g. gmail) as explained in the phpMailer link above.

Hope this helps.
2 posts Page 1 of 1