Code:
Set Mail=CreateObject("CDO.Message")
Mail.Subject="Email subject"
Mail.From="a@yahoo.com"
Mail.To="b@yahoo.com"
''Mail.Bcc="someone1@example.org"
''Mail.Cc=someone2@example.org
''Mail.ReplyTo ="replyto@example.org"
Mail.TextBody="This is an email message."
Mail.Send
set Mail =nothing
i have written the above code in asp file.bt m nt getting the output.so what and how smtp settings i hv to do?