Emails sent from my site get sent to junk folder

They have: 105 posts

Joined: Mar 2006

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! Smiling

pr0gr4mm3r's picture

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's picture

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.

They have: 105 posts

Joined: Mar 2006

Thanks for the suggestions Smiling 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,

She has: 70 posts

Joined: Nov 2007

Funny having this tab open next to the spamcop one. The favicons are almost the same. Smiling

Michelle

JeevesBond's picture

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! Smiling

They have: 105 posts

Joined: Mar 2006

I managed to get it working, I included the smtp host address Smiling

dk01's picture

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.