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
njsokalski@dotnet.itags.org.hotmail.com
http://www.nathansokalski.com/Hi Nathan,
I have never experienced this. Can you show us some code?
Bernie Yaeger
"Nathan Sokalski" <njsokalski@.hotmail.com> wrote in message
news:ebDcSIIZFHA.1040@.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
> njsokalski@.hotmail.com
> http://www.nathansokalski.com/
>
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 = "njsokalski@.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
njsokalski@.hotmail.com
http://www.nathansokalski.com/
"Bernie Yaeger" <berniey@.cherwellinc.com> wrote in message
news:%23QAR8IKZFHA.2128@.TK2MSFTNGP15.phx.gbl...
> Hi Nathan,
> I have never experienced this. Can you show us some code?
> Bernie Yaeger
> "Nathan Sokalski" <njsokalski@.hotmail.com> wrote in message
> news:ebDcSIIZFHA.1040@.TK2MSFTNGP10.phx.gbl...
>
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.
[url]http://www.paul
owski.com/WSH/[/url] for some CDO stuff if you really think it'ssomehow a .NET issue. But I doubt that.
Regards, Paul R. Sadowski [MVP].
A few options
a. Add your address to the hotmail contacts list
b. Add your domain name to the safe list
"Nathan Sokalski" <njsokalski@.hotmail.com> wrote in message
news:ebDcSIIZFHA.1040@.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
: njsokalski@.hotmail.com
: http://www.nathansokalski.com/
:
:
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
njsokalski@.hotmail.com
http://www.nathansokalski.com/
"...winston" <merlin@.druid9#.com> wrote in message
news:ebCenQNZFHA.3356@.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" <njsokalski@.hotmail.com> wrote in message
> news:ebDcSIIZFHA.1040@.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
> : njsokalski@.hotmail.com
> : http://www.nathansokalski.com/
> :
> :
>
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" <njsokalski@.hotmail.com> wrote in message
news:uIlMQ0OZFHA.1368@.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
: njsokalski@.hotmail.com
: http://www.nathansokalski.com/
:
: "...winston" <merlin@.druid9#.com> wrote in message
: news:ebCenQNZFHA.3356@.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" <njsokalski@.hotmail.com> wrote in message
: > news:ebDcSIIZFHA.1040@.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
: > : njsokalski@.hotmail.com
: > : http://www.nathansokalski.com/
: > :
: > :
: >
: >
:
:
0 comments:
Post a Comment