CDOSYS Sending to Yahoo Moved to (Spam Folder)

Hello All; (Classic ASP)

This is going to get the best of me.
I have sent an email with the same
In outlook Express to: Yahoo, and it puts it in the Inbox Folder.

If I send the same message from within a CDOSYS Script, it puts it in the [Spam] Folder.

Script that I am using
Using #3
With Authentication.

Is there something that needs to be added to make it "not" be Spam?

Hotmail was flagging it as Phising Scam.
I fixed it with them, it needs to have a
From: <Name>
instead of
From: <email address>

So, that fixed Hotmail.
Just need to fix Yahoo.
GMail, no problems with it. Just that blasted Yahoo.

Thanks All
LVL 31
Wayne BarronAuthor, Web DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

What server are you using to send them out, because maybe it is the server that has been flagged/blacklisted.  Mail messages have headers with lots and lots of information that Yahoo uses to monitor Physing and it is an algorithm that they use.

In my work location, our spam filters block internal messages if you send similar messages to the same user more than a few times.

In your case, the mail server may have been blacklisted, but do try looking at the headers and see if there is anything interesting in them.
Wayne BarronAuthor, Web DeveloperAuthor Commented:
The same mail server that I use to send through Outlook Express.
And it is not blacklisted it is new.
As I mentioned.
It works fine sending through Outlook Express with the same information
But once I send through the site, it gets Flagged as spam.

And has nothing to do with the amount of times sending either.
I tested 15 messages through OE and every one of them went through without an issue.

Any other suggestions?
Looks like you are not the only one.  You might have to contact yahoo to <b>always</b> allow e-mail from your site through like this person did.
Angular Fundamentals

Learn the fundamentals of Angular 2, a JavaScript framework for developing dynamic single page applications.

Wayne BarronAuthor, Web DeveloperAuthor Commented:
This is the difference in the 2

Send from within' an Email program, and the Header gives you this.
Message-ID:   <FAEF515156064393849A9467CE4E3A7C@computernamer>

Send from within a Web Form
Thread-Topic:   Hello John
thread-index:   Acn5+C37FuT6PE+nQ2qBuBgKp8zf2w==

So, what I am thinking is that Yahoo picks up on the "Thread" as a Spammer.
Need to find a way around this issue.

Wayne BarronAuthor, Web DeveloperAuthor Commented:
Might, if I cannot find a way through it here.
And yes, I had already seen that thread, prior to posting the Q here in EE.
You may need to look at the settings on the server itself.  It is from a hosting company is it not?
Wayne BarronAuthor, Web DeveloperAuthor Commented:
Please read this, that I posted in my original and 2nd message.
It works fine sending through Outlook Express with the same information
But once I send through the site, it gets Flagged as spam.

There is nothing wrong with the mail server.
This post above http:#a24751334
It has something to do with the header information that is being sent from the webmail enterface.
I know, I didn't forget, but that link had information about how CDONTS object is configured on the server itself, but my original message did state to check the headers.

Are you certain you set all CDO configuration settings.  This is one of the most complete code samples I've seen.  Sendusingport is often overlooked.
Wayne BarronAuthor, Web DeveloperAuthor Commented:
Did you look at the link that I posted in the main Question?
Method 3 ( Using remote mail server )

The same information that you just posted in your last link, is what is posted in mine.

And yes, You did state about the Headers.
But until I know for fact that the Headers is the issue and how to resolve, it is just that.

Have a good one.
Wayne BarronAuthor, Web DeveloperAuthor Commented:
If a resolution cannot come of this one.
I am going to close it out after the beginning of the week.

If Spammers can get their mail sent to Yahoo without it getting put in the Spam folder.
Then I should be able to send a legitimate message to them from my Web Form.

I know that you stated information about possible Headers.
That might and might not be an issue, if we can find out for fact that it is an issue.
Then I will be more the happy to award you the points.
If not, then this is going to be a [Delete], as it so far is not helpful until we have actual facts
In this issue.

Other than switching to CDO, I'm going to give you some information about how Yahoo Treats SPAM.

Bulk e-mail tips.

Have you looked into DomainKeys?

You are right in saying perhaps the header is not the issue.  I spent quite a bit of time in trying to remove that information that is different with no luck.  Perhaps you should focus on finding our if that is the problem and the best way of doing that is to contact Yahoo directly.
Wayne BarronAuthor, Web DeveloperAuthor Commented:
Once again I will repeat.

I can send to Yahoo! from within' Outlook Express
Using the same credentials as I use in the Web Form, and it goes straight into the Inbox.
It is not
Domain Keys
It is something else that is flagging it with the sending of the web form.

>>Other than switching to CDO
I am using CDOSYS (CDO).

Have a good 4th Of July.
This is still not producing no information as it is not relevant to my issue.

Wayne BarronAuthor, Web DeveloperAuthor Commented:
Figured it out, it was a mess-up on my part of entering the information into the code.

To resolve this issue on my part I did the following
Thse both have to be from the same location.

We have 4 domains, and I added in 2 different domain names.

smtpserver =
sendusername =

In order for Yahoo! not to flag you as SPAM, you HAVE TO HAVE both these the same.
They have to have the same Domain.

Spammers usually use multiple domains to send out their garbage.
So, Yahoo! figured this crap out, and has Blacklisted if you are multi domaining.

For anyone that ix experiancing this issue, do the below
If this is not your issue, then you have been blacklisted on Yahoo!.

Good Luck

Since you attempted to help me out here, I am going to award you some points.
So come in and let me know how your 4th of July was and I will Give your 4th the Points.
And Accept this message as Solution.

myMail.Configuration.Fields.Item ("") =""
myMail.Configuration.Fields.Item ("") = 25 
myMail.Configuration.Fields.Item ("") = False 'Use SSL for the connection (True or False)
myMail.Configuration.Fields.Item ("") = 60
' If your server requires outgoing authentication uncomment the lines bleow and use a valid email address and password.
myMail.Configuration.Fields.Item ("") = 1 'basic (clear-text) authentication
myMail.Configuration.Fields.Item ("") =""
myMail.Configuration.Fields.Item ("") ="*******"

Open in new window


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Hey, thanks, I had a great 4th.  Your problem was bugging me, I kept looking at spammer rules, because I hadn't encountered your problem before.

I am glad that you got your problem resolved. :)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.