473,320 Members | 1,862 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

MailMessage, SmtpMail, and Hotmail: Why are my messages getting put in Junkmail?

I am using the MailMessage and SmtpMail classes to allow users of my site to
send me email at my Hotmail email address. However, it always ends up in the
Junkmail folder. Even though I check my Junkmail box, I do not want this to
become a problem if I ever use these classes to have email sent to someone
other than myself. What can I do to avoid having the emails marked as Junk?
Thanks.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/
Nov 19 '05 #1
6 2170
Hi Nathan,

I have never experienced this. Can you show us some code?

Bernie Yaeger

"Nathan Sokalski" <nj********@hotmail.com> wrote in message
news:eb**************@TK2MSFTNGP10.phx.gbl...
I am using the MailMessage and SmtpMail classes to allow users of my site
to send me email at my Hotmail email address. However, it always ends up in
the Junkmail folder. Even though I check my Junkmail box, I do not want
this to become a problem if I ever use these classes to have email sent to
someone other than myself. What can I do to avoid having the emails marked
as Junk? Thanks.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/

Nov 19 '05 #2
I do not do anything complicated in my code when creating/sending the email,
I just create a new MailMessage, set the properties, and send it. Here is my
code:

Private Sub btnSubmit_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnSubmit.Click

If Page.IsValid Then

Dim commentMsg As New Mail.MailMessage

commentMsg.BodyFormat = Mail.MailFormat.Html

commentMsg.From = txtEmail.Text

commentMsg.Subject = "Comments on Life With Nate"

commentMsg.To = "nj********@hotmail.com"

commentMsg.Body = "<h1>My Heading</h1>"

Mail.SmtpMail.SmtpServer = "localhost"

Mail.SmtpMail.Send(commentMsg)

End If

End Sub


When I check my JunkMail box and look at the email, it looks exactly as I
expected it to, so I know that my coding is correct. I just need to know how
to make the message not look like junkmail. Thanks.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/

"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
Hi Nathan,

I have never experienced this. Can you show us some code?

Bernie Yaeger

"Nathan Sokalski" <nj********@hotmail.com> wrote in message
news:eb**************@TK2MSFTNGP10.phx.gbl...
I am using the MailMessage and SmtpMail classes to allow users of my site
to send me email at my Hotmail email address. However, it always ends up
in the Junkmail folder. Even though I check my Junkmail box, I do not want
this to become a problem if I ever use these classes to have email sent to
someone other than myself. What can I do to avoid having the emails marked
as Junk? Thanks.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/


Nov 19 '05 #3
Hello, Nathan:
On Sun, 29 May 2005 15:10:30 -0400: you wrote...

NS> I am using the MailMessage and SmtpMail classes to allow users of my
NS> site to send me email at my Hotmail email address. However, it always
NS> ends up in the Junkmail folder. Even though I check my Junkmail box, I
NS> do not want this to become a problem if I ever use these classes to
NS> have email sent to someone other than myself. What can I do to avoid
NS> having the emails marked as Junk? Thanks.

A host may junk any email based on a number of factors including content,
keywords, sender, originating IP, etc. Try sending yourself a more wordy
email avoiding anything that may sound spamish. Also, Hotmail has various
filter levels that could impact on your received email. One of those levels
is exclusive which allows only mail from senders in your addressbook to make
it into INBOX. Your hosting service could be flagged as a potential spam
source, too.

http://www.paulsadowski.com/WSH/ for some CDO stuff if you really think it's
somehow a .NET issue. But I doubt that.

Regards, Paul R. Sadowski [MVP].
Nov 19 '05 #4
A few options
a. Add your address to the hotmail contacts list
b. Add your domain name to the safe list

"Nathan Sokalski" <nj********@hotmail.com> wrote in message
news:eb**************@TK2MSFTNGP10.phx.gbl...
:I am using the MailMessage and SmtpMail classes to allow users of my site
to
: send me email at my Hotmail email address. However, it always ends up in
the
: Junkmail folder. Even though I check my Junkmail box, I do not want this
to
: become a problem if I ever use these classes to have email sent to someone
: other than myself. What can I do to avoid having the emails marked as
Junk?
: Thanks.
: --
: Nathan Sokalski
: nj********@hotmail.com
: http://www.nathansokalski.com/
:
:
Nov 19 '05 #5
I think you misunderstood my question. I know how to prevent it from going
into my JunkMail box, but when sending a MailMessage to other people
(visitors to my site), how can I prevent it from going into their JunkMail
box?
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/

"...winston" <merlin@druid9#.com> wrote in message
news:eb**************@TK2MSFTNGP15.phx.gbl...
A few options
a. Add your address to the hotmail contacts list
b. Add your domain name to the safe list

"Nathan Sokalski" <nj********@hotmail.com> wrote in message
news:eb**************@TK2MSFTNGP10.phx.gbl...
:I am using the MailMessage and SmtpMail classes to allow users of my site
to
: send me email at my Hotmail email address. However, it always ends up in
the
: Junkmail folder. Even though I check my Junkmail box, I do not want this
to
: become a problem if I ever use these classes to have email sent to
someone
: other than myself. What can I do to avoid having the emails marked as
Junk?
: Thanks.
: --
: Nathan Sokalski
: nj********@hotmail.com
: http://www.nathansokalski.com/
:
:

Nov 19 '05 #6
AFAIK you can't control their mail accounts. They are required to configure
each of their accounts dependent upon their mail client and isp mail options
to ensure delivery to their Inbox.
..winston

"Nathan Sokalski" <nj********@hotmail.com> wrote in message
news:uI**************@tk2msftngp13.phx.gbl...
:I think you misunderstood my question. I know how to prevent it from going
: into my JunkMail box, but when sending a MailMessage to other people
: (visitors to my site), how can I prevent it from going into their JunkMail
: box?
: --
: Nathan Sokalski
: nj********@hotmail.com
: http://www.nathansokalski.com/
:
: "...winston" <merlin@druid9#.com> wrote in message
: news:eb**************@TK2MSFTNGP15.phx.gbl...
: >A few options
: > a. Add your address to the hotmail contacts list
: > b. Add your domain name to the safe list
: >
: > "Nathan Sokalski" <nj********@hotmail.com> wrote in message
: > news:eb**************@TK2MSFTNGP10.phx.gbl...
: > :I am using the MailMessage and SmtpMail classes to allow users of my
site
: > to
: > : send me email at my Hotmail email address. However, it always ends up
in
: > the
: > : Junkmail folder. Even though I check my Junkmail box, I do not want
this
: > to
: > : become a problem if I ever use these classes to have email sent to
: > someone
: > : other than myself. What can I do to avoid having the emails marked as
: > Junk?
: > : Thanks.
: > : --
: > : Nathan Sokalski
: > : nj********@hotmail.com
: > : http://www.nathansokalski.com/
: > :
: > :
: >
: >
:
:
Nov 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Simran | last post by:
I need to set up an automated email system , which means users should not be able to respond back to the emails but at the same time, we need to track bounced emails. This is important as our...
1
by: Trond A. S. Andersen | last post by:
Hi all, I'm working on a project in which i need to send mail attachments in the form of Excel documents from a .NET C# application. I've written a class which creates the Excel document using...
4
by: Trond A. S. Andersen | last post by:
Hi, all! I'm trying to use the System.Web.Mail. "package" combinded with System.Web.Mail.SmtpMail in order to send MS Excel spreadsheets attached to mail messages. However, sending one single...
4
by: lostman | last post by:
Hi, Did someone know if sending email with smtpmail.send to HOTMAIL cause any problem. My system send an automatic email to the user, but many user does'nt receive the email, but i have a...
5
by: martin | last post by:
Hi, I have created a class that is totally seperate from my web application. However this class is used extensivly by the web application for stuff like data access. I wish to add a function to...
4
by: Aren Cambre | last post by:
Why does SmtpMail.Send throw an exception if the MailMessage's BodyFormat = MailFormat.Html? I've searched all over the place and cannot find a solution anywhere. I am running this on Windows XP...
3
by: Anthony Fine | last post by:
Hello All, I have a VB.Net app that needs to send mail. I have created a class for building my e-mail, but keep getting the error (Could not access 'CDO.Message' object.) when trying to send...
6
by: Nathan Sokalski | last post by:
I am using the MailMessage and SmtpMail classes to allow users of my site to send me email at my Hotmail email address. However, it always ends up in the Junkmail folder. Even though I check my...
1
by: Bob | last post by:
I have a bit of code in a functions that sends a .Net mail message asynchronously. emailClient.SendAsync(EmailMessage, 0) I don't really want to wait for the return status of the messages, so...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.