Hi,
I can send mails using asp.net 2 to some account mails, but it is impossible to send mails to my own mail accounts of my domain.
Code:
MiMensaje.To.Add("pepito@gmail.com")
MiMensaje.Bcc.Add("user@mydomain.es"")
MiMensaje.From = New System.Net.Mail.MailAddress("user@mydomain.es")
MiMensaje.Subject = "My subject"
MiMensaje.IsBodyHtml = False
MiMensaje.Body = "bla bla bla bla"
MiMensaje.Priority = System.Net.Mail.MailPriority.High
Dim smtp As New System.Net.Mail.SmtpClient
smtp.Host = "mail.myDomain.es"
smtp.UseDefaultCredentials = False
smtp.Credentials = New System.Net.NetworkCredential("user@mydomain.es", myPass)
smtp.Send(MiMensaje)
The mails arrive ok to the addressee. But the copy never arrives to any of my accounts (account mail of my domain). If I put an account gmail, yahooo, etc. yes, they arrive ok....
Why does my domain block to his own accounts?
Any help?
regards