View Full Version : SMTP failure
paul.anderson
04-25-2008, 08:54 AM
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
wisemx
04-25-2008, 09:27 AM
Instead of your SMTP domain try localhost.
If this is in your web.config do it like this:
[quote]
<system.net>
<mailSettings>
<smtp>
<network host="localhost" port="25"/>
</smtp>
</mailSettings>
</system.net></CODE>
MoreCowbell
04-29-2008, 04:43 AM
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>
vBulletin® ©Jelsoft Enterprises Ltd.