Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


send mail

rahul1985rahul1985 Posts: 4Member
how to send mail through yor project in


  • gb5gb5 Posts: 5Member
    : how to send mail through yor project in
    there are articles on sending mail through on this site only,
    so go through that, i hope u will get way.
    have a nice day.
  • HackmanCHackmanC Posts: 441Member
    The easy way :)

    Dim myMail As New MailMessage()
    myMail.From = "[email protected]"
    myMail.To = "[email protected]"
    myMail.Subject = "UtilMailMessage001"
    myMail.Priority = MailPriority.Low
    myMail.BodyFormat = MailFormat.Html
    myMail.Body = "UtilMailMessage001 - success"
    Rem SmtpMail.SmtpServer = ""

    The mail message can be delivered either through the SMTP mail service built into Microsoft Windows 2000 or through an arbitrary SMTP server. Types in the System.Web.Mail namespace can be used from ASP.NET or from any managed application.
    If the SmtpServer Property is not set, mail is by default queued on a Windows 2000 system, ensuring that the calling program does not block network traffic. If the SmtpServer property is set, the mail is delivered directly to the specified server.

    [red]Good luck![/red]
Sign In or Register to comment.