Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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.

  #2 (permalink)  
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?

  #3 (permalink)  
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

  #4 (permalink)  
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>

  #5 (permalink)  
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

  #6 (permalink)  
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>

  #7 (permalink)  
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>

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 09:28 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.