SMTP failure

Discussion in 'ASP.NET / ASP.NET Core' started by paul.anderson, Apr 25, 2008.

  1. i am using the smtp.trillionlogos.com to send the email this is smtp provided by the host so let me know why it sending fail the emails.

    Post Edited By Moderator (mjp [DASP]) : 5/5/2008 6:55:27 PM GMT
     
  2. Instead of your SMTP domain try localhost.
    If this is in your web.config do it like this:

     
  3. This was helpful. I has assumed I had to use smtp.hostname.com as my host but then could not send email because the userName I was using could not be authenticated.

    One useful tip I discovered in researching this is that you can for debugging purposed have all email from your website sent to a folder on your harddrive. The benefits are:

    - no waiting
    - no accidental emails to users




    <system.net>
    <mailSettings>
    <smtp deliveryMethod="SpecifiedPickupDirectory">
    <specifiedPickupDirectory pickupDirectoryLocation="d:\testfolder"/>
    </smtp>
    <!--<smtp>
    <network host="localhost" port="25" />
    </smtp>-->
    </mailSettings>
    </system.net>
     

Share This Page