having problems with sending mail
Re-invent ASP.NET Hosting Community
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



having problems with sending mail Expand / Collapse
Author
Message
Posted 2/22/2007 6:37:58 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior 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 !
Post #523
Posted 2/22/2007 8:20:59 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior 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 ?!)
Post #524
Posted 2/22/2007 8:53:25 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior 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 .
Post #525
Posted 2/22/2007 9:53:24 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme 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

Post #526
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Administrator, Re-invent (Paul), Re-invent (Nick)

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 11:23am

Powered By InstantForum.NET v4.1.4 © 2009
Execution: 0.062. 9 queries. Compression Disabled.


Copyright 2007 Re-invent Technologies LLC All Rights Reserved.