send mail not working

N

nicholas

Why is this not working?
I get no error, but no mail is sent.
Thanks !

######## code: ########


Dim objMM as New MailMessage()

objMM.To = customeremail1.text 'I even replaced this with a simple
email: still not working
objMM.From = "(e-mail address removed)"
objMM.BodyFormat = MailFormat.Text
objMM.Priority = MailPriority.Normal
objMM.Subject = "the subjet"
objMM.Body = "the body text"

'Specify to use the default Smtp Server
SmtpMail.SmtpServer = ""

SmtpMail.Send(objMM)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,983
Messages
2,570,187
Members
46,747
Latest member
jojoBizaroo

Latest Threads

Top