|
 |
asp_cdo thread: Re: sending email via CDONTS
Message #1 by "Samit Taneja" <samit_taneja@h...> on Fri, 26 Apr 2002 02:30:40
|
|
> Hi, I have searched thru' the FAQ and still not able to find the answer
to
> my problem. Maybe you can help me. I have setup a virutal smtp server in
a
> machine which also host my IIS5.0 I have another machine which host my
> Exchange Server 5.5. In my smtp server, I have defined my Exchange
Server
> to be the smart host, ie using my Exchange server to relay all internet
> mails.
> Below is a simple asp code that I attempted to send an email out to a
> external party.
>
> <%@LANGUAGE="VBSCRIPT" %>
> <HTML>
> <BODY>
> <%
>
> Set oMail = Server.CreateObject("CDONTS.NewMail")
>
> oMail.To = "yeesoon@s..."
>
> oMail.From = "david.chin@w..."
>
> oMail.Value("Reply-To") = "david.chin@w..."
>
> oMail.Subject = "Tessting"
>
> oMail.Body = "Testing the CDONTS"
>
>
> oMail.Send
> set oMail = nothing
>
> %>
> </BODY>
> </HTML>
>
> Instead I found that my mail in the badmail directory of my smtp server
> machine. When I opened one of the .BDR file, there was an error code of
> 0xC00402C7.
>
> Where did I go wrong? Are there any configurations that I need to take
> note of in Exchange? Pls help...this problem is driving me nuts for the
> last 3 days.
>
> tks U
Message #2 by "Samit Taneja" <samit_taneja@h...> on Fri, 26 Apr 2002 02:32:45
|
|
Hello - If you did find a solution to this problem could you pl. share
that - because I have exactly the same configuraion for the exchange
server and am facing exactly the same problem.
Any help would be greatly appreciated
Thanks
Samit
> Hi, I have searched thru' the FAQ and still not able to find the answer
to
> my problem. Maybe you can help me. I have setup a virutal smtp server in
a
> machine which also host my IIS5.0 I have another machine which host my
> Exchange Server 5.5. In my smtp server, I have defined my Exchange
Server
> to be the smart host, ie using my Exchange server to relay all internet
> mails.
> Below is a simple asp code that I attempted to send an email out to a
> external party.
>
> <%@LANGUAGE="VBSCRIPT" %>
> <HTML>
> <BODY>
> <%
>
> Set oMail = Server.CreateObject("CDONTS.NewMail")
>
> oMail.To = "yeesoon@s..."
>
> oMail.From = "david.chin@w..."
>
> oMail.Value("Reply-To") = "david.chin@w..."
>
> oMail.Subject = "Tessting"
>
> oMail.Body = "Testing the CDONTS"
>
>
> oMail.Send
> set oMail = nothing
>
> %>
> </BODY>
> </HTML>
>
> Instead I found that my mail in the badmail directory of my smtp server
> machine. When I opened one of the .BDR file, there was an error code of
> 0xC00402C7.
>
> Where did I go wrong? Are there any configurations that I need to take
> note of in Exchange? Pls help...this problem is driving me nuts for the
> last 3 days.
>
> tks U
|
|
 |