简体   繁体   中英

How to avoid spam filter when sending email as someone else

I have a website on which visitors can use a "send to a friend" button. They enter their informations as well as the friend's info.

When I send the email, I want it to be sent with the visitor email / name, but I'm afraid that spam filters will see that this is not sent from the correct domain and mark it as spam.

I'm using the phpMailer library.

Let me know if you need more info!

mail systems don't have any way of distinguishing you, who has all good intentions, from others who do not. many applications have Gmail (or other system) credentials specifically for sending messages from their applications, so that they don't have to try and pretend to be a different user. you can add the sender's name in the from field, but if you don't try and pretend to be a different sender, you won't raise any red flags.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM