-
☆ A M B ☆
- 24,524 Posts
Add parameters to the eForm call for &from=`[+field-for-sender’s-email+]` and &fromname=`[+field-for-sender’s-name+]. You can also add a &replyto=`[+field-for-sender’s-name+] if you want to.
These will have the added advantage of letting you just hit "reply" to the email and getting the sender’s address and name already in the "to" field of your mail client.
I had the same problem as David (mail via one ISP, site via another), tried everything mentioned above, didn’t work. The server somehow "ate up" the e-mails that were sent to addresses in our own domain.
Finally I discovered that the control panel my ISP uses had an option like "Use local mail server to handle my emails". It may be called something else in other control panels but you get the idea. After I unchecked this option, it worked.
is the site running on pulseregeneration.co.uk ?
if so then let the host disable mailserver for that domain that should work,
php sends the mail to the server smtp that smtp server sees tha the domain is on the same server and tries to deliver the mail internaly without looking at the dns first.
if the mailserver is disabled on the host where the site is hosted the the smtp will look to the dns and see that the mailbox is external and your mail wil be deliverd to that server.
Dimmy
I am having this problem too. We have narrowed the issue down to the email account provider having a really strict mail policy. The "Return-Path" header is checked to see if it’s a legitimate email, but it is not being set as the form user’s email address and is defaulting to one which doesn’t exist ([HOSTING-ACCOUNT-USERNAME]@domain.co.uk). So the email account provider is rejecting it with no errors.
We have tried modifying the eForm snippet and also the PHPMailer file without success.
I have a couple of clients whose email is hosted by perimeter and their site is hosted with Hostgator. My problem was that the user passwords were not being sent from the MODx security tab when I clicked on a user and then chose new password and then send password by email. I went into the Cpanel for the site, and then chose email configuration, and then went into the SPF settings and added the domainname for my client to the current server name. The problem was that in a shared hosting environment there was a mismatch between the name of the shared host gti.websitewelcome.com and clientname.com and thus the email was not being sent.
I added cleintname.com to the list of included domains and then the emails from MODx worked.
I hope this helps someone.
-Noah