Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 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, 2006, 10:48 AM
Friend of Wrox
 
Join Date: Aug 2006
Location: , , .
Posts: 131
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to kherrerab Send a message via Yahoo to kherrerab
Default Configure SMTP on TBH kit

the site is www.clubvwnica.com

i send the newsletter and it says it was sent ok but no mail gets to inbox.

How do i configure it to use a specific smtp server.

 
Old September 8th, 2006, 11:22 AM
Friend of Wrox
 
Join Date: Aug 2006
Location: , , .
Posts: 131
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to kherrerab Send a message via Yahoo to kherrerab
Default

i mean something like this

<mailSettings>
            <smtp from="user@mail.com">
                <network host="hostname.com" password="pass" userName="me@name.com" port="25"/>
            </smtp>
</mailSettings>

would this be alright? what about the port info?

 
Old September 8th, 2006, 05:02 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You need to get the info on the mailserver you want to use (do you have one?) and plug it into Web.config or the SmtpClient class in Newsletter.cs in the bll.

The port is almost always going to be 25, unless you have a wierd server.

http://msdn2.microsoft.com/en-us/library/ms164242.aspx

Or, for something odd like a gmail server:

http://www.vikramlakhotia.com/Post.aspx?postID=9

Eric

 
Old September 8th, 2006, 06:49 PM
Friend of Wrox
 
Join Date: Aug 2006
Location: , , .
Posts: 131
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to kherrerab Send a message via Yahoo to kherrerab
Default

i did already but it does not works. do i have something wrong?
does this config works for the contact page?

<system.net>
    <mailSettings>
      <smtp from="clubvwnica@clubvwnica.com">
        <network host="mail1srv.clubvwnica.com"
                 username="clubvwnica@clubvwnica.com"
          password="********8"
          port="25" />
      </smtp>
    </mailSettings>
  </system.net>

 
Old September 10th, 2006, 08:19 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You've got the wrong name for your mail server. DNS reports that this is your correct mail server:

mail.clubvwnica.com

 
Old September 11th, 2006, 08:26 AM
Friend of Wrox
 
Join Date: Aug 2006
Location: , , .
Posts: 131
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to kherrerab Send a message via Yahoo to kherrerab
Default

this is what i have but still not working. It says sanding Sending Newsletter...
0% completed - 0 out of ??? e-mails have been sent.

Stays 4 ever

    <mailSettings>
     <smtp from="clubvwnica@clubvwnica.com">
        <network host="mail.clubvwnica.com"
                 username="clubvwnica@clubvwnica.com"
          password="*******"
          port="25" />
      </smtp>
    </mailSettings>

 
Old September 11th, 2006, 08:50 AM
Friend of Wrox
 
Join Date: Aug 2006
Location: , , .
Posts: 131
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to kherrerab Send a message via Yahoo to kherrerab
Default

FINALLY WORKS!

     <smtp from="clubvwnica@clubvwnica.com">
        <network defaultCredentials="true" host="localhost" port="25" />
      </smtp>





Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation kit maheswaranr Pro PHP 1 May 9th, 2008 06:19 PM
bean developer kit sushant2002 Java Basics 1 July 26th, 2007 04:55 AM
TBH Starter Kit forum on ASP.NET Forums rocco50 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 March 5th, 2007 01:53 PM
Configure SMTP in IIS abq23 Classic ASP Basics 1 May 17th, 2004 12:15 PM
Development Kit Darren JSP Basics 2 July 11th, 2003 09:08 AM





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