sending email through a web site

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • assor
    New Member
    • Mar 2007
    • 11

    sending email through a web site

    Hello

    I want to build a web site and send email to the site’s subscribers....
    The question is what do I need to perform this action??

    Note that I will build my site using ASP.NET & VB.NET

    Thanks in advance
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Originally posted by assor
    Hello

    I want to build a web site and send email to the site’s subscribers....
    The question is what do I need to perform this action??

    Note that I will build my site using ASP.NET & VB.NET

    Thanks in advance
    You will need:
    System.Net.Mail .MailMessage
    It will provide you with the means to send emails. I suggest looking it up to see what tools it offers you and how to use them.

    Since you'll likely have to provide email credentials in order to use the email services you will probably also need.
    System.Net.Netw orkCredential

    Cheers!

    -Frinny

    Comment

    • assor
      New Member
      • Mar 2007
      • 11

      #3
      Ok do I need to have a server...?

      Look I don't know anything I'm new in this language...

      Can you explain in more deep way please...?

      I want you to learn me step by step....

      Thanks in advance

      Comment

      • Frinavale
        Recognized Expert Expert
        • Oct 2006
        • 9749

        #4
        Originally posted by assor
        Ok do I need to have a server...?

        Look I don't know anything I'm new in this language...

        Can you explain in more deep way please...?

        I want you to learn me step by step....

        Thanks in advance
        There are Many posts here on the script covering how to send an email. There is also a lot of information out there on the internet that provide you with good examples to get you started. But since you're new to the language I'll point you in the right direction.

        Since you are developing a .NET application it will need to run on a web server that uses IIS. This web server does not need to be running a mail server in order for you to send emails....it just needs to be running .NET Framework 2.0

        Please look at the information provided on MSDN concerning System.net.mail for more information and some examples on how to send an email.

        Try using the System.Net.Mail objects to send an email and if you have a specific question about a problem feel free to post about it.

        Cheers

        -Frinny

        Comment

        Working...