Solved

CDOSYS Sending to Yahoo Moved to (Spam Folder)

Posted on 2009-06-30
14
535 Views
Last Modified: 2012-05-07
Hello All; (Classic ASP)

This is going to get the best of me.
I have sent an email with the same
To
From
Subject
Message
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
http://www.powerasp.com/content/new/sending_email_cdosys.asp
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
Carrzkiss
0
Comment
Question by:Wayne Barron
  • 8
  • 6
14 Comments
 
LVL 5

Expert Comment

by:mrcoolcoder
ID: 24751234
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.
0
 
LVL 30

Author Comment

by:Wayne Barron
ID: 24751257
The same mail server that I use to send through Outlook Express.
My smtp.domain.com
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?
0
 
LVL 5

Expert Comment

by:mrcoolcoder
ID: 24751330
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.
http://www.sitepoint.com/forums/showthread.php?t=400893
0
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.

 
LVL 30

Author Comment

by:Wayne Barron
ID: 24751334
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.

Carrzkiss
0
 
LVL 30

Author Comment

by:Wayne Barron
ID: 24751337
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.
0
 
LVL 5

Expert Comment

by:mrcoolcoder
ID: 24751418
You may need to look at the settings on the server itself.  It is from a hosting company is it not?
http://classicasp.aspfaq.com/email/why-do-cdonts-messages-end-up-in-the-badmail-folder.html
0
 
LVL 30

Author Comment

by:Wayne Barron
ID: 24751438
mrcoolcoder
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.
Also.
This post above http:#a24751334
It has something to do with the header information that is being sent from the webmail enterface.
0
 
LVL 5

Expert Comment

by:mrcoolcoder
ID: 24751726
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.
http://www.asp101.com/articles/john/cdosmtprelay/default.asp
0
 
LVL 30

Author Comment

by:Wayne Barron
ID: 24751811
Did you look at the link that I posted in the main Question?
#3
http://www.powerasp.com/content/new/sending_email_cdosys.asp
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.
Carrzkiss
0
 
LVL 30

Author Comment

by:Wayne Barron
ID: 24775971
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.

@mrcoolcoder:
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.

Carrzkiss
0
 
LVL 5

Expert Comment

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

Bulk e-mail tips.
http://bryandunn.com/uncategorized/yahoo-dot-com-and-bulk-mail/

Have you looked into DomainKeys?
https://www.linuxquestions.org/questions/linux-server-73/outgoing-email-improperly-marked-as-spam-by-yahoomsn-664609/

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.
0
 
LVL 30

Author Comment

by:Wayne Barron
ID: 24777608
OK.
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.
So.
It is not
Domain Keys
It is something else that is flagging it with the sending of the web form.

Also.
>>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.
Sorry.

Carrzkiss
0
 
LVL 30

Accepted Solution

by:
Wayne Barron earned 0 total points
ID: 24788828
OK.
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.
             smtpserver
             sendusername

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

smtpserver = smtp.domain1.com
sendusername = name@domain.com

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.

So.
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
Carrzkiss

@mrcoolcoder
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 ("http://schemas.microsoft.com/cdo/configuration/smtpserver") ="smtp.domain.net"
myMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25 
myMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = False 'Use SSL for the connection (True or False)
myMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
     
' If your server requires outgoing authentication uncomment the lines bleow and use a valid email address and password.
myMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1 'basic (clear-text) authentication
myMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusername") ="webmaster@domain.net"
myMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendpassword") ="*******"

Open in new window

0
 
LVL 5

Assisted Solution

by:mrcoolcoder
mrcoolcoder earned 500 total points
ID: 24789036
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. :)
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Suggested Solutions

I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

827 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