Re: smtp
- From: "Juan T. Llibre" <nomailreplies@xxxxxxxxxxx>
- Date: Fri, 9 Sep 2005 06:30:02 -0400
Hi, Jeremy.
re:
> I'm sure the MVPs around here are aware of this undocumented solution - but they don't
> recommend it - and probably for good reason.
The only reason to use that is if the smtp server needs authentication.
I've sent quite a few references to this FAQ page in response
to questions about sending authenticated smtp mail:
http://www.systemwebmail.com/faq/3.8.aspx
If the server doesn't need authenticacion, the standard, less complicated,
methods of sending mail ( the "wrappers" you refer to ) work just fine,
so why introduce complicated schema code if there's no need for it ?
The best reference site for system.web.mail is this FAQ :
http://www.systemwebmail.com/faq.aspx
I don't think I've come up with a problem not documented/solved there.
Juan T. Llibre
ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
==========================
"Jeremy S." <A@xxxxx> wrote in message news:%234OymhQtFHA.2064@xxxxxxxxxxxxxxxxxxxxxxx
> Keep in mind that the method I showed to you is officially "undocumented" - meaning it
> might not be supported in the future. I suspect that's why this solution is rarely
> recommended.
>
> I'm sure the MVPs around here are aware of this undocumented solution - but they don't
> recommend it - and probably for good reason. I'd be interested in knowing why. This
> question is posed with some regularity and they always seem to recommend some more
> complicated method that relies on CDO/COM wrapper-based solution.
>
> -JS
>
>
> "JD" <jdnews@xxxxxxxx> wrote in message news:OL7V3VQtFHA.3236@xxxxxxxxxxxxxxxxxxxxxxx
>> Thanks everyone, I was able to get it work after I tried out Jeremy S. suggestion,
>> learn something new tonight or morning or whatever time it is now. Issue closed.
>>
>>
>> "JD" <jdnews@xxxxxxxx> wrote in message news:uCHRS7NtFHA.1204@xxxxxxxxxxxxxxxxxxxxxxx
>>> Is it possible using the smtp class in asp.net to send emails and authenticate to the
>>> mail server that is sending the emails out.
>>>
>>> Currently I have a web application that works fine on my machine, will send email to
>>> both my company email addresses and to non-company email addresses. However, as soon
>>> as I move the app into the production server it does not send email to non company
>>> email addresses. What I mean by company is our domain could @domain.com and it will
>>> work fine sending emails to any one with that email address, but anyone without that
>>> in their email address and it crashes. Any help on this would be appreciated.
>>>
>>> --
>>> J. D
>>>
>>
>>
>
>
.
- Prev by Date: Re: Good ASP.NET 2.0 Books
- Next by Date: RegularExpressionValidator???
- Previous by thread: Re: smtp
- Next by thread: Re: smtp
- Index(es):
Relevant Pages
|