Z
Zile
I am trying to send mail from web page in asp.net 2.0/VB 2005:
Dim Poruka As New System.Web.Mail.MailMessage
myMessage.From = "(e-mail address removed)"
myMessage.To = "(e-mail address removed)"
myMessage.Subject = "Automatic sending mail"
myMessage.Body = "Success!"
Mail.SmtpMail.Send(myMessage)
There is no error message! Only message that recomended is
System.Net.Mail.MailMessage instead System.Web.Mail.MailMessage.
Compiling is ok, but messages is not sent. I changed myMessage.To adresses,
but nothing! How to fix it?
Thanks
Dim Poruka As New System.Web.Mail.MailMessage
myMessage.From = "(e-mail address removed)"
myMessage.To = "(e-mail address removed)"
myMessage.Subject = "Automatic sending mail"
myMessage.Body = "Success!"
Mail.SmtpMail.Send(myMessage)
There is no error message! Only message that recomended is
System.Net.Mail.MailMessage instead System.Web.Mail.MailMessage.
Compiling is ok, but messages is not sent. I changed myMessage.To adresses,
but nothing! How to fix it?
Thanks