Results 1 to 4 of 4

Thread: asp.net 2.0 email settings

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2002
    Location
    London
    Posts
    678

    asp.net 2.0 email settings

    Hi,
    I would like to be able to send emails from the asp.net 2.0 website when recovering a password using the password recovery control.
    I do have the IP addresses for email Gateway and the mail server.
    Where do I set these settings please? Is it somewhere in the web.config?
    Thanks

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,174

    Re: asp.net 2.0 email settings

    <system.net>
    <mailSettings>
    <smtp deliveryMethod="Network">
    <network defaultCredentials="True" host="10.0.0.1" port="25" from="abc@xyz.com"/>
    </smtp>
    </mailSettings>
    </system.net>

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2002
    Location
    London
    Posts
    678

    Re: asp.net 2.0 email settings

    Where are you using the IP addresses for mail server and the email gateway please?
    Thanks

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2002
    Location
    London
    Posts
    678

    Re: asp.net 2.0 email settings

    This is what I have at present.
    Is it ok?
    <mailSettings>
    <smtp deliveryMethod="network" from="farshad.mardani@hpa.org.uk">
    <network host="127.0.0.1" port="25" defaultCredentials="true"/>
    </smtp>
    </mailSettings>
    </system.net>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width