Send emails from website triggered as spam

Posted on 2009-05-11
Last Modified: 2013-12-17
We have a function in our website, this function allow users to forward emails to other users. The forwarded email should show that the sender email is the sender user, not ours.
Apparently, this is triggered as spam since the sender server is different then the email.. so wondering what is the best practice for us not to be caught as spam at the same time keep the sender email is the sender user.

Thanks for any idea or input
Question by:NevinsLtd
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2

Expert Comment

ID: 24357789
Do you have a mail server? If you send using that, then the mails are not marked spam.

Author Comment

ID: 24357810
I do and I'm using that mail server which is hosted
I tried relay it to our exchange on a different location. I'm able to send emails, however, still not sure if that will take us off SPAMCANNIBAL spam list.


Expert Comment

ID: 24357849
Try including the user's name next to the sender's email in the From field
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.


Author Comment

ID: 24357906
can you be more specific please
LVL 26

Accepted Solution

jar3817 earned 250 total points
ID: 24363878
"The forwarded email should show that the sender email is the sender user, not ours."

You're forging the FROM address on the email, this is most likely a factor in your messages being seen as spam. Many sites publish SPF records that explicitly list the servers allowed to send from a certain domain. When you rewrite the FROM address using one of these domains, your server isn't on the list so the message is seen as spam.

Also webhosting servers are often not setup correctly for sending email. Does the server have valid reverse DNS (PTR record)? Is this PTR record generic looking ( or something more custom like Is it announcing itself as a valid DNS name in the HELO stage? What's the return-path on the emails this server is sending out? Most webhosts will fail on this one setting the return-path to something like "" when that isn't a valid email address. You need set the return-path to something valid, if not the same email address as the FROM header.

Author Comment

ID: 24365064
I think it's a reverse DNS issue. We have changed the PTR record yesterday and it shows in most places, except for SPAMCANNIBAL. I guess will give it another 24 hours and see if they are able to resolve it.

thanks for the input.


Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Encryption for Business Encryption ( ensures the safety of our data when sending emails. In most cases, to read an encrypted email you must enter a secret key that will enable you to decrypt the email. T…
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question