Emails sent from my site get sent to junk folder
Hi,
I'm currentlty using an ASP script to send emails to users, for example when they have forgotten their password and to confirm their email address when they signup, but the emails sent to their email addresses get sent to the junk folder and sometimes don't get through.
I have tried including more information in the headers like [email protected] etc and that gets it through to junk folder (I think)
I've seen scripts that use information like referer, server, clientip, serverip
1) What are the above and how do I find them out?
2) What do I need to include in the script to ensure emails are delivered?
Any help will be apreciated!
pr0gr4mm3r posted this at 17:36 — 1st May 2008.
He has: 1,502 posts
Joined: Sep 2006
The first thing I would check would be the major spam databases. To see if your server IP is blacklisted with Spamcop, see http://www.spamcop.net/bl.shtml.
dk01 posted this at 18:06 — 1st May 2008.
He has: 516 posts
Joined: Mar 2002
You've either got incomplete headers or your ip is blacklisted. Also many spam filters don't like any links going to ip addresses instead of urls so make sure you don't have any of those.
drew22299 posted this at 19:24 — 1st May 2008.
They have: 105 posts
Joined: Mar 2006
Thanks for the suggestions Pr0gr4mm3r, I checked to see if my server IP is blocked and it's not.
dk01, I'm guessing the headers don't have enough information. At the moment they include:
Set Mail = CreateObject("CDONTS.NewMail")
Mail.From = "[email protected]"
Mail.To = rs("email") 'logged in user's userid
Mail.Subject = "Confirm your email address"
What else should I include?
Thanks,
Michelle posted this at 13:18 — 2nd May 2008.
She has: 70 posts
Joined: Nov 2007
Funny having this tab open next to the spamcop one. The favicons are almost the same.
Michelle
JeevesBond posted this at 22:43 — 6th May 2008.
He has: 3,956 posts
Joined: Jun 2002
Wow, yeah, almost the same shape! Different colours though, we certainly didn't do that on purpose!
drew22299 posted this at 09:44 — 3rd May 2008.
They have: 105 posts
Joined: Mar 2006
I managed to get it working, I included the smtp host address
dk01 posted this at 17:19 — 5th May 2008.
He has: 516 posts
Joined: Mar 2002
Good to hear Drew!
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.