Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 8th, 2011, 12:47 AM
Registered User
 
Join Date: Sep 2010
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Unable to send mail in chapter 16

Hi, Imar
I'm trying to send the email to hotmail users for the member confirmation.Its successfully register the member but I didn't sends the email.
My web.config file code goes like this:
Code:
 
<mailSettings>
      <smtp deliveryMethod="SpecifiedPickupDirectory" from="Planet Wrox &lt;[email protected]&gt;">
        <specifiedPickupDirectory pickupDirectoryLocation="C:\TempMail" />
        <network userName="myEmailId"  password="mypassword" host="smtp.live.com" port="587"/>
      </smtp>
    </mailSettings>
And what should be done to send email to various mail servers like Yahoo,aol I mean we are considering only single host what should be done to send to multiple host.
 
Old September 26th, 2011, 10:52 PM
Friend of Wrox
 
Join Date: Apr 2010
Posts: 125
Thanks: 20
Thanked 3 Times in 3 Posts
Default

Quote:
but I didn't sends the email
Hi prathoven,
I think "live" uses secure connection and you should use enableSSL = "true" inline <network> section. If it doesn't works try using port 25 instead of 587.
I hope it work's.
__________________
Please excuse me for poor and bad English.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 16 Fig 16-11 krsouthern BOOK: Professional SharePoint 2007 Development ISBN: 978-0-470-11756-9 1 July 8th, 2008 12:11 PM
Send mail and attachments with PHP mail function Lofa Beginning PHP 1 June 2nd, 2008 03:24 PM
send mail chavakoti BOOK: Professional SQL Server 2005 Integration Services ISBN: 0-7645-8435-9 1 September 4th, 2007 05:03 AM
Unable to send Email using Uploaded Application hellowahab .NET Framework 1.x 2 February 1st, 2007 05:08 AM
Please help, unable to send mail powerMan BOOK: ASP.NET Website Programming Problem-Design-Solution 1 November 22nd, 2005 10:12 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.