Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional 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 August 6th, 2006, 01:55 AM
Friend of Wrox
 
Join Date: May 2005
Location: tehran, tehran, Iran.
Posts: 201
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to hastikeyvan
Default SMTP problem

Hi
I'm trying to send mail via SMTP server.it works when all recipients are on same sarver(for example my server is "a" and when all recipients are hhha@a it is working correctly ) but when i use a recipient on yahoo (for example) it gives me error:
The server rejected one or more recipient addresses. The server response was: 550 not local host yahoo.com, not a gateway
would you please help me???
thank you
  #2 (permalink)  
Old August 7th, 2006, 05:19 AM
Friend of Wrox
 
Join Date: May 2005
Location: tehran, tehran, Iran.
Posts: 201
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to hastikeyvan
Default

Isn't there any one can help me please?????should i ask my host to fix it?or there is a problem somewhere in my codings?????
  #3 (permalink)  
Old August 9th, 2006, 11:30 AM
Authorized User
Points: 333, Level: 6
Points: 333, Level: 6 Points: 333, Level: 6 Points: 333, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2005
Location: Fresno, California, USA.
Posts: 94
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am not entirely too sure about this answer so corrections may be needed but have you tried to email a yahoo account from your smtp server. The answer you are looking for may not be found here but on Microsoft's site for SMTP. Your local SMTP server, or server iteself, needs to be configured to find yahoo.com and where to send the mail too. In other words, you need to configure your server to speak to yahoo's smtp server to pass mail to it. Forgive the lesson on inet mail if you already know or i am off but When you send email from your inet provider, it finds the server it needs to go to throug hthe DNS it is registered too. From there it sends the email to that server that then hads it out to the receipient or returns an error reponse. If your local server does not know where yahoo is, it will not be able to deliver.

Not a complete server config expert but know a little something.

  #4 (permalink)  
Old August 10th, 2006, 01:40 AM
Friend of Wrox
 
Join Date: May 2005
Location: tehran, tehran, Iran.
Posts: 201
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to hastikeyvan
Default

Thank you for you reply.i was getting disapponted to see a reply for my question.
I contact my host they told me they set my domain name for IMAP and POP3 mails on my server and i should use CDOSYS for writting mail program.but there is a question:
i used CDOSYS in asp programms befor and not sure if i can use it in the same way in asp.net programms(vb).what is its namespace?should i use system.web.mail as before???or it has another namespace?
thank you again for your help


 


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
SMTP mail problem akhilesh_g ASP.NET 2.0 Professional 0 August 28th, 2008 01:31 AM
Sending newsletters smtp problem sbramall BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 April 22nd, 2008 02:18 PM
SMTP problem adorable.ashish ASP.NET 2.0 Professional 0 March 7th, 2008 04:36 AM
SMTP Problem Komila Classic ASP Professional 2 August 26th, 2006 12:48 AM



All times are GMT -4. The time now is 10:08 PM.


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