View Single Post
  #1 (permalink)  
Old December 28th, 2004, 08:21 AM
Varg_88 Varg_88 is offline
Friend of Wrox
Points: 486, Level: 7
Points: 486, Level: 7 Points: 486, Level: 7 Points: 486, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2004
Location: Athens, , Greece.
Posts: 105
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to send e-mails???

Hello Everybody...

While searching the web for "ASP send e-mails" I `ve found so many referenses about that. All of them are saying that it`s so easy to send e-mails (just a few lines of code)!!!

But none of them is working for me unfortunattely!
I`m using IIS 5.1 on WinXP Pro.
I `ve already installed SMTP Server and running.

So... what`s the problem?

One of those easy ways I tried is the following code:
--------------------
'www.w3schools.com
<%
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="mymail@mydomain.com"
myMail.To="and_vagas@hotmail.com"
myMail.TextBody="This is a message."
myMail.Send
%>
---------------------

The error was: The Value of parameter "SendUsing" is not valid.

Any ideas??? Thank you in advance!
Reply With Quote