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

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
  • 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
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.


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 (1-2-3-4.static.isp.com) or something more custom like mail.domain.com? 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 "apache@1-2-3-4.static.isp.com" 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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Easy CSR creation in Exchange 2007,2010 and 2013
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
Familiarize people with the process of utilizing SQL Server functions 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 Microsoft Ac…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

856 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