Jump to content
Xtreme .Net Talk

Recommended Posts

  • *Experts*
Posted

You can do something like this:

Dim mailmsg as new Web.Mail.MailMessage
mailmsg.from = "youremail"
mailmsg.to = "person'semail"
mailmsg.Subject = "yoursubject"
mailmsg.Body = "thebodyofmsg"
Web.Mail.SmtpMail.SmtpServer = "localhost" 'set the server
Web.Mail.SmtpMail.Send(mailmsg) 'send it

Posted

Mutant, at present I have my app using Outook for sending auto emails, but this only works if the user has Office2000 installed. We still have many user on Office97 so the email function does not work.

 

You mention web mail above, do I need any thing particular to make that work. I mean if my app was to send an auto email would it open up a browser or something?

My website
  • *Experts*
Posted
It requires the SMTP service to be installed on the computer, or you could try to set the server property to something else which I never tired.
  • 3 weeks later...
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...