Jump to content

Tell a friend - not working for some senders


Guest holney

Recommended Posts

Hi All

My 'tell a friend' emails do not get through if the sender enters a gmail or hotmail address. They appear to go through on the site but I don't receive them. If I enter an email address attached to my domain name, they work fine,

e.g.

Sender: [email protected] - DOESN'T WORK

Sender: [email protected] - DOES WORK

My site is here:

http://precisionwatches.eu/

You'll see I've modified the tell a friend template ever so slightly to automatically populate the recipient name and email.

Hosting is GoDaddy if that is relevant.

Any advice much appreciated.

Thanks

Link to comment
Share on other sites

  • 2 weeks later...

Try this small hack:

File includes/content/tellafriend.inc.php

ADD

$mail->headers[] = 'Reply-To: '.$_POST['senderEmail'];

$mail->headers[] = 'Return-Path: ' . $config['masterEmail'];


BEFORE THIS


$mail->send(array($_POST['recipEmail']), $config['mailMethod']);

Link to comment
Share on other sites

Guest holney

Hi

Many thanks for your reply. I tried this but unfortunately, emails from gmail and hotmail still aren't getting through.

Any other thoughts?

Many thanks :-)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...