Quote:
Originally Posted by pradeep
What specific information do you require faital?? Let me know!
could you please give an idea how to send a mail using cdosys
using the folllowing code?


<%

Set myMail=CreateObject("CDO.Message")

myMail.Subject="Sending email with CDO"

myMail.From="mymail@mydomain.com"

myMail.To="someone@somedomain.com"

myMail.TextBody="This is a message."

myMail.Send

set myMail=nothing

%>
i have a page say 1.asp ,if i click a send button on 1.asp, it will go to 2.asp wer this code is written.

i couldnt find the correct solution frm books and net, i tried a lot, no error is coming but mail is not sent.



am using asp ,msaccess for this project.
i have taken a asp connection/space from spaceforhost webhosting company.
when i enquired they told cdosys is supported by them.

is there any need of special server settings to run the code?