That's an error from the SMTP server saying it can't deliver the message.
This is nothing to do with your code per se. Are you specifying an SMTP
server to send the mail through? It seems that server can't relay the
message on.
> The server rejected one or more recipient addresses. The server response
> was: 550 5.7.1 Unable to relay for femi@yahoo.co.uk
[quoted text clipped - 9 lines]
>
> This works, so why the aspx scripts is unable to relay?
> This is nothing to do with your code per se. Are you specifying an SMTP
> server to send the mail through? It seems that server can't relay the
> message on.
I am not, but neither do I with old fashioned cdonts, so are you saying
there can be a sutuation where cdonts knows where smtp is and
aspdotnet doesn't know? I'd rather not specify this, so that it will pick
up what is appropriate without my intervention (portable script).
If not, how can I find which smtp cdonts is using, so that I can install
this info into my asp.net script.
Thanks in advance
Juan T. Llibre - 31 Jul 2007 17:19 GMT
http://www.systemwebmail.com/faq/4.3.11.aspx
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
>> This is nothing to do with your code per se. Are you specifying an SMTP
>> server to send the mail through? It seems that server can't relay the
[quoted text clipped - 9 lines]
>
> Thanks in advance
femi - 01 Aug 2007 14:14 GMT
Thank you, but no answers there,
My cdonts object on the same host does relay to any address
WebMail however, (on same host) doesn't replay, but now I
found that it will relay locally, i.e. back to myself.
Since cdonts does work, my logic tells me it can't be an smtp
issue.