send mail - Programmers Heaven

Howdy, Stranger!

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


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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.