Hello,
Unfortunately, got a problem with emails being sent from my website ending up in spam. Just wondering how to avoid it so they're dealt with properly. Just to warn you I'm beginner with programming.
On my site there's 2 main mail functions that I require.
1. Is an email verification when the user registers
2. Is when one users(A) requirements matches another user(B), an email is automatically generated.
Unfortunately, a number of these are going to spam which is affecting my site's functionality.
I use phpmailer() to send the emails. e.g.
$mail = new PHPMailer();
$mail->IsSMTP();
$mail->Host = "mail.eye2eyerecruitment.com";
$mail->SMTPAuth = true; // turn on SMTP authentication
$mail->Username = ""
$mail->Password = ""
$mail->From = "[email protected]";
$mail->FromName = "Eye2eye Recruitment";
$mail->AddAddress($row['email'], $forename." ".$surname);
$mail->AddBCC("[email protected]", "BCC for admin");
$mail->AddReplyTo(USER's Email);
$mail->WordWrap = 50;
$mail->IsHTML(true);
$mail->Subject = "Hello";
$mail->Body = "Text";
I don't know if the problem is because the Reply to address is one of the other Users rather than the website. Although From is set to the website address. Also, the Users email is also written in the Body of the email. My EUKhost account is a Linux Silver, which is shared. I do request my users to add my address to their address book.
Many thanks.
Unfortunately, got a problem with emails being sent from my website ending up in spam. Just wondering how to avoid it so they're dealt with properly. Just to warn you I'm beginner with programming.
On my site there's 2 main mail functions that I require.
1. Is an email verification when the user registers
2. Is when one users(A) requirements matches another user(B), an email is automatically generated.
Unfortunately, a number of these are going to spam which is affecting my site's functionality.
I use phpmailer() to send the emails. e.g.
$mail = new PHPMailer();
$mail->IsSMTP();
$mail->Host = "mail.eye2eyerecruitment.com";
$mail->SMTPAuth = true; // turn on SMTP authentication
$mail->Username = ""
$mail->Password = ""
$mail->From = "[email protected]";
$mail->FromName = "Eye2eye Recruitment";
$mail->AddAddress($row['email'], $forename." ".$surname);
$mail->AddBCC("[email protected]", "BCC for admin");
$mail->AddReplyTo(USER's Email);
$mail->WordWrap = 50;
$mail->IsHTML(true);
$mail->Subject = "Hello";
$mail->Body = "Text";
I don't know if the problem is because the Reply to address is one of the other Users rather than the website. Although From is set to the website address. Also, the Users email is also written in the Body of the email. My EUKhost account is a Linux Silver, which is shared. I do request my users to add my address to their address book.
Many thanks.
Comment