|
|
|
Junior Member
      
Group: Forum Members
Last Login: 12/27/2007 4:20:11 PM
Posts: 22,
Visits: 26
|
|
Hello, it seems that I'm having hard time figuring out why end-user never receives e-mail I sent trough re-invent mail hosting.
Here is the example :
Dim cred As New Net.NetworkCredential("username", "password") 'username & password i got from re-invent
Dim mailMessage As New System.Net.Mail.MailMessage("mymailaccount@mydomainatre-invent", "someuser@t-com.hr")
mailMessage.Subject = "this is a test subject"
mailMessage.IsBodyHtml = True 'makes no difference if putting this to false
mailMessage.body = "hello, please receive this mail ..."
Dim smtpClient As New System.Net.Mail.SmtpClient("mail.mydomainatre-invent")
smtpClient.UseDefaultCredentials = False
smtpClient.Credentials = cred
smtpClient.Send(mailMessage)
and bummer !
|
|
|
|
|
Junior Member
      
Group: Forum Members
Last Login: 12/27/2007 4:20:11 PM
Posts: 22,
Visits: 26
|
|
well, it seems that it works fine if body of message is something like "hello I am a body of a message",
but when body is set to somethink like
"helloHy I'm body of HTML"
then it cannot reach end-user !
(what the hell is going on ?!)
|
|
|
|
|
Junior Member
      
Group: Forum Members
Last Login: 12/27/2007 4:20:11 PM
Posts: 22,
Visits: 26
|
|
I have probably solved it .
(Or I'm hoping so ...)
Thing is that spam filter was ON, so I could not receive any mail from Re-Invent ... interesting
I hate being programmer .
|
|
|
|
|
Supreme Being
      
Group: Administrators
Last Login: 1/1/2009 9:27:17 AM
Posts: 106,
Visits: 276
|
|
Glad you have it resolved. Usually the problem is spam filtering. Many filters do not like HTML based email and will generally filter it as spam. Especially Yahoo Mail.
Plato Re-invent Technologies LLC Re-invent Support Team http://www.re-invent.com
Specializing in ASP.NET Hosting
|
|
|
|