By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,956 Members | 1,657 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,956 IT Pros & Developers. It's quick & easy.

SmtpMail - Hotmail Junk e-mail

P: n/a
When I sent e-mail from within my asp.net application to Hotmail adresses.
The e-mail always end up in Junk e-mail. I sent the e-mail as plain/text.
Does anyone know how to solve this?
Nov 18 '05 #1
Share this Question
Share on Google+
17 Replies


P: n/a
okay here's a bit of background on how Junk Mail works on Hotmail (have been
using it since the day that feature was added)

For a mail to reach your inbox, the sender has to be marked and added to
'Safe Sender's List'
or the email should be in your contacts like.
there is a 3rd option and that is using custom filters.

But the problem is at the users end and not the senders end. There is not
code tweaks that will help you.

--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
"LACH" <LA**@discussions.microsoft.com> wrote in message
news:06**********************************@microsof t.com...
When I sent e-mail from within my asp.net application to Hotmail adresses.
The e-mail always end up in Junk e-mail. I sent the e-mail as plain/text.
Does anyone know how to solve this?

Nov 18 '05 #2

P: n/a
"Hermit Dave" <he************@CAPS.AND.DOTS.hotmail.com> wrote in message
news:eO**************@tk2msftngp13.phx.gbl...
For a mail to reach your inbox, the sender has to be marked and added to
'Safe Sender's List'


Only if the recipient has selected "Exclusive" filtering. There are three
levels of junk email filtering:

Low - obvious junk e-mail is caught.
Enhanced - most junk e-mail is caught.
Exclusive - you will only receive e-mail from addresses appearing in your
Contacts, service
announcements from Hotmail, and messages you have consented to receive from
MSN.
Nov 18 '05 #3

P: n/a
The problem is that I want to send an e-mail with password, when a user
registers on my site - users are uknown to me at time of registration,
therefore I cannot ask users to add my sender e-mail to their 'Safe Sender's
List'.

When I sent an e-mail from Outlook or webmail with the same sender e-mail
address - there is no problem - the problem only exists when I sent e-mail
from my asp.net code.

Can the Hotmail filter see, that e-mail comes from asp.net code and not from
Outlook? Strange to me...!?!!
"Hermit Dave" wrote:
okay here's a bit of background on how Junk Mail works on Hotmail (have been
using it since the day that feature was added)

For a mail to reach your inbox, the sender has to be marked and added to
'Safe Sender's List'
or the email should be in your contacts like.
there is a 3rd option and that is using custom filters.

But the problem is at the users end and not the senders end. There is not
code tweaks that will help you.

--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
"LACH" <LA**@discussions.microsoft.com> wrote in message
news:06**********************************@microsof t.com...
When I sent e-mail from within my asp.net application to Hotmail adresses.
The e-mail always end up in Junk e-mail. I sent the e-mail as plain/text.
Does anyone know how to solve this?


Nov 18 '05 #4

P: n/a
my bad.. i only had to set it up once and i set it to exclusive.

--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:%2******************@TK2MSFTNGP11.phx.gbl...
"Hermit Dave" <he************@CAPS.AND.DOTS.hotmail.com> wrote in message
news:eO**************@tk2msftngp13.phx.gbl...
For a mail to reach your inbox, the sender has to be marked and added to
'Safe Sender's List'


Only if the recipient has selected "Exclusive" filtering. There are three
levels of junk email filtering:

Low - obvious junk e-mail is caught.
Enhanced - most junk e-mail is caught.
Exclusive - you will only receive e-mail from addresses appearing in your
Contacts, service
announcements from Hotmail, and messages you have consented to receive
from MSN.

Nov 18 '05 #5

P: n/a
"Hermit Dave" <he************@CAPS.AND.DOTS.hotmail.com> wrote in message
news:O5****************@TK2MSFTNGP09.phx.gbl...
my bad.. i only had to set it up once and i set it to exclusive.


Wow! Think of all the genuine email you've missed!
Nov 18 '05 #6

P: n/a
"LACH" <LA**@discussions.microsoft.com> wrote in message
news:30**********************************@microsof t.com...
The problem is that I want to send an e-mail with password, when a user
registers on my site - users are uknown to me at time of registration,
therefore I cannot ask users to add my sender e-mail to their 'Safe
Sender's
List'.

When I sent an e-mail from Outlook or webmail with the same sender e-mail
address - there is no problem - the problem only exists when I sent e-mail
from my asp.net code.

Can the Hotmail filter see, that e-mail comes from asp.net code and not
from
Outlook? Strange to me...!?!!


Almost certainly. There will be something in the email header which
determines this. What value are you specifying for SmtpMail.SmtpServer?
Nov 18 '05 #7

P: n/a
are you using localmachine right now to do the dev and testing ?
if so are you using Relay option to relay the mail to your ISP ?
if that is the case, relaying is the problem. a lot of email providers use
filters to set this sort of mail (at times used by spammer) on the side.

--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
"LACH" <LA**@discussions.microsoft.com> wrote in message
news:30**********************************@microsof t.com...
The problem is that I want to send an e-mail with password, when a user
registers on my site - users are uknown to me at time of registration,
therefore I cannot ask users to add my sender e-mail to their 'Safe
Sender's
List'.

When I sent an e-mail from Outlook or webmail with the same sender e-mail
address - there is no problem - the problem only exists when I sent e-mail
from my asp.net code.

Can the Hotmail filter see, that e-mail comes from asp.net code and not
from
Outlook? Strange to me...!?!!
"Hermit Dave" wrote:
okay here's a bit of background on how Junk Mail works on Hotmail (have
been
using it since the day that feature was added)

For a mail to reach your inbox, the sender has to be marked and added to
'Safe Sender's List'
or the email should be in your contacts like.
there is a 3rd option and that is using custom filters.

But the problem is at the users end and not the senders end. There is not
code tweaks that will help you.

--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
"LACH" <LA**@discussions.microsoft.com> wrote in message
news:06**********************************@microsof t.com...
> When I sent e-mail from within my asp.net application to Hotmail
> adresses.
> The e-mail always end up in Junk e-mail. I sent the e-mail as
> plain/text.
> Does anyone know how to solve this?


Nov 18 '05 #8

P: n/a
well i check my junk mail more than my inbox lol

every time i add the person as a contact they stop mailing me... ironic..

--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:ei****************@TK2MSFTNGP10.phx.gbl...
"Hermit Dave" <he************@CAPS.AND.DOTS.hotmail.com> wrote in message
news:O5****************@TK2MSFTNGP09.phx.gbl...
my bad.. i only had to set it up once and i set it to exclusive.


Wow! Think of all the genuine email you've missed!

Nov 18 '05 #9

P: n/a
My code looks something like the following:

MailMessage message = new MailMessage();
message.From = "mySenderEmail";
message.To = "someHotmailEmail";
message.Subject = "Test subject";
message.BodyFormat = MailFormat.Text;
message.Body = "Test body";
SmtpMail.SmtpServer = "mySmtpServer";
SmtpMail.Send(message);
Results in e-mail header:

MIME-Version: 1.0
Received: frommySmtpServer ([193.162.159.95]) by mc2-f22.hotmail.com with
Microsoft SMTPSVC(5.0.2195.6713); Wed, 15 Sep 2004 06:29:01 -0700
Received: from web24 (unknown [80.196.101.35])by mySmtpServer (Postfix) with
SMTP id 014841EC3C6for <someHotmailEmail>; Wed, 15 Sep 2004 15:27:58 +0200
(CEST)
X-Message-Info: JGTYoYF78jGs8X3R6d1uUqBJOAWXh6zM
thread-index: AcSbJ9+CKA8MpnXBRxKq4IOYkZolhw==
Thread-Topic: Test subject
Message-ID: <00****************************@wannafind.dk>
X-Mailer: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.181
Return-Path: mySenderEmail
X-OriginalArrivalTime: 15 Sep 2004 13:29:02.0234 (UTC)
FILETIME=[F6F297A0:01C49B27]
Maybe there is something in the message.Headers.Add( ... )
that I can add???

"Mark Rae" wrote:
"LACH" <LA**@discussions.microsoft.com> wrote in message
news:30**********************************@microsof t.com...
The problem is that I want to send an e-mail with password, when a user
registers on my site - users are uknown to me at time of registration,
therefore I cannot ask users to add my sender e-mail to their 'Safe
Sender's
List'.

When I sent an e-mail from Outlook or webmail with the same sender e-mail
address - there is no problem - the problem only exists when I sent e-mail
from my asp.net code.

Can the Hotmail filter see, that e-mail comes from asp.net code and not
from
Outlook? Strange to me...!?!!


Almost certainly. There will be something in the email header which
determines this. What value are you specifying for SmtpMail.SmtpServer?

Nov 18 '05 #10

P: n/a
My code looks something like the following:

MailMessage message = new MailMessage();
message.From = "mySenderEmail";
message.To = "someHotmailEmail";
message.Subject = "Test subject";
message.BodyFormat = MailFormat.Text;
message.Body = "Test body";
SmtpMail.SmtpServer = "mySmtpServer";
SmtpMail.Send(message);
Results in e-mail header:

MIME-Version: 1.0
Received: frommySmtpServer ([193.162.159.95]) by mc2-f22.hotmail.com with
Microsoft SMTPSVC(5.0.2195.6713); Wed, 15 Sep 2004 06:29:01 -0700
Received: from web24 (unknown [80.196.101.35])by mySmtpServer (Postfix) with
SMTP id 014841EC3C6for <someHotmailEmail>; Wed, 15 Sep 2004 15:27:58 +0200
(CEST)
X-Message-Info: JGTYoYF78jGs8X3R6d1uUqBJOAWXh6zM
thread-index: AcSbJ9+CKA8MpnXBRxKq4IOYkZolhw==
Thread-Topic: Test subject
Message-ID: <00****************************@wannafind.dk>
X-Mailer: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.181
Return-Path: mySenderEmail
X-OriginalArrivalTime: 15 Sep 2004 13:29:02.0234 (UTC)
FILETIME=[F6F297A0:01C49B27]
Maybe there is something in the message.Headers.Add( ... )
that I can add???
"Mark Rae" wrote:
"LACH" <LA**@discussions.microsoft.com> wrote in message
news:30**********************************@microsof t.com...
The problem is that I want to send an e-mail with password, when a user
registers on my site - users are uknown to me at time of registration,
therefore I cannot ask users to add my sender e-mail to their 'Safe
Sender's
List'.

When I sent an e-mail from Outlook or webmail with the same sender e-mail
address - there is no problem - the problem only exists when I sent e-mail
from my asp.net code.

Can the Hotmail filter see, that e-mail comes from asp.net code and not
from
Outlook? Strange to me...!?!!


Almost certainly. There will be something in the email header which
determines this. What value are you specifying for SmtpMail.SmtpServer?

Nov 18 '05 #11

P: n/a
I'm relatively certain that hotmail checks to see if the email came from its
own domain. If you use example.net as your relay and all of your email comes
from jo*@myhost.com it will think that you are using an open relay somewhere
to hide your real identity.
Nov 18 '05 #12

P: n/a
No I already have the code in production - and it works great with other
e-mail domains.

"Hermit Dave" wrote:
are you using localmachine right now to do the dev and testing ?
if so are you using Relay option to relay the mail to your ISP ?
if that is the case, relaying is the problem. a lot of email providers use
filters to set this sort of mail (at times used by spammer) on the side.

--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
"LACH" <LA**@discussions.microsoft.com> wrote in message
news:30**********************************@microsof t.com...
The problem is that I want to send an e-mail with password, when a user
registers on my site - users are uknown to me at time of registration,
therefore I cannot ask users to add my sender e-mail to their 'Safe
Sender's
List'.

When I sent an e-mail from Outlook or webmail with the same sender e-mail
address - there is no problem - the problem only exists when I sent e-mail
from my asp.net code.

Can the Hotmail filter see, that e-mail comes from asp.net code and not
from
Outlook? Strange to me...!?!!
"Hermit Dave" wrote:
okay here's a bit of background on how Junk Mail works on Hotmail (have
been
using it since the day that feature was added)

For a mail to reach your inbox, the sender has to be marked and added to
'Safe Sender's List'
or the email should be in your contacts like.
there is a 3rd option and that is using custom filters.

But the problem is at the users end and not the senders end. There is not
code tweaks that will help you.

--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
"LACH" <LA**@discussions.microsoft.com> wrote in message
news:06**********************************@microsof t.com...
> When I sent e-mail from within my asp.net application to Hotmail
> adresses.
> The e-mail always end up in Junk e-mail. I sent the e-mail as
> plain/text.
> Does anyone know how to solve this?


Nov 18 '05 #13

P: n/a
"LACH" <LA**@discussions.microsoft.com> wrote in message
news:E2**********************************@microsof t.com...
My code looks something like the following: SmtpMail.SmtpServer = "mySmtpServer";


Yes, but what is the *actual* value? I have a feeling I've figured out the
problem...

Let's say your ISP is somefictitiousisp.com. In Outlook, you've probably set
up your email account to use smtp.somefictitiousisp.com as your outgoing
mail server so that you're sending emails via your ISP's smtp server' smtp
queue. If you then specify:

SmtpMail.SmtpServer = "smtp.somefictitiousisp.com";

HoTMaiL sees this as OK.

However, if you specify a different SMTP queue, HoTMaiL will interpret this
as relaying, and will consider that it's spam. If you have a HoTMaiL account
yourself, you can check this out - you'll probably see headers similar to
the following:

X-RBL-Warning: NOPOSTMASTER: Not supporting po********@hotmail.com
X-RBL-Warning: ROUTING: This E-mail was routed in a poor manner consistent
with spam [2000010f].
X-Declude-Sender: x@hotmail.com [x.x.x.x] <-- real details removed
X-Note: This E-mail was scanned by for spam.
X-Spam-Tests-Failed: NOPOSTMASTER, ROUTING
X-RCPT-TO: <x@x.co.uk> <-- real details removed
Status: U
X-UIDL: 386775229
Nov 18 '05 #14

P: n/a
"LACH" <LA**@discussions.microsoft.com> wrote in message
news:8F**********************************@microsof t.com...
I have got the name of the SmtpServer to use in my code from my webhotel
parner - and I don't know if that smtp server name is the same as their
ISP...

Is that what you mean?
Yes. What is your outgoing mail server set to in your desktop email client
(i.e. Outlook etc)?
If the smtp server name I have got from my webhotel partner to use in my
code is different from my webhotel partner's ISP - could that be the
problem?

If the names differ - is that what you mean when you say that Hotmail will
interpret that as relaying?


Almost certainly.
Nov 18 '05 #15

P: n/a
I now have verified that the smtp server name I have got from my webhotel
partner to use in my code is the exact same as my webhotel partner's ISP -
SIGH! So that was not the problem either.

In the meantime I have created a small test win-application that also sents
e-mail. I run the application on my local computer using the smtp server of
my ISP - and are having no problem in sending e-mail - exept again the
e-mails ends up in peoples junk mail - if I sent to a Hotmail account.

Have anyone got any idea why?
"Mark Rae" wrote:
"LACH" <LA**@discussions.microsoft.com> wrote in message
news:8F**********************************@microsof t.com...
I have got the name of the SmtpServer to use in my code from my webhotel
parner - and I don't know if that smtp server name is the same as their
ISP...

Is that what you mean?


Yes. What is your outgoing mail server set to in your desktop email client
(i.e. Outlook etc)?
If the smtp server name I have got from my webhotel partner to use in my
code is different from my webhotel partner's ISP - could that be the
problem?

If the names differ - is that what you mean when you say that Hotmail will
interpret that as relaying?


Almost certainly.

Nov 18 '05 #16

P: n/a
I have solved the problem - thanks for all your help.
"LACH" wrote:
When I sent e-mail from within my asp.net application to Hotmail adresses.
The e-mail always end up in Junk e-mail. I sent the e-mail as plain/text.
Does anyone know how to solve this?

Nov 18 '05 #17

P: n/a
We're having a similar problem with our emails going into the Junk
folder of hotmail. What did you do to solve the problem?

Thanks,
Matt

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #18

This discussion thread is closed

Replies have been disabled for this discussion.