HELP ASP/CDONTS

06/06/2004 - 16:13 por Ammar | Informe spam
Hi All!
I have been trying to use ASP to send E-mail from a web page using CDONTS; I
tried first to run the asp file in my computer (I am running IIS under
Windows XP-Pro) but nothing happened, and the E-mail was not sent, then I
tried to uppload the files to a free ASP hosting site like 1asphost.com, but
this didnt help either and i am getting really mad here! could anyone please
help me??
 

Leer las respuestas

#1 Franco Figún
07/06/2004 - 17:13 | Informe spam
Hello
Firstly, this is a spanish group, but i will try to help you.
You have permission of Administrator in the IIS?
Try this code:

<%
Set oMail = Server.CreateObject ("CDONTS.NewMail")

oMail.BodyFormat = 0
oMail.MailFormat = 0

Sender = "" 'YOUR MAIL HERE
Recipient = "" 'Email de destino

titulo = "Send e-mail with CDO/ASP"
Texto = "Send test"

if error < 0 then

Response.Write "1- Descripcion: "& Err.Description &"<br>."
Response.Write "2- Numero "& Err.Number &"<br>."
Response.Write "3- Source "& Err.Source &"<br>."
Response.Write "4- Helpfile "& Err.Helpfile &"<br>."
Response.Write "5- HelpContext "& Err.HelpContext &"<br>."

else

oMail.Send Sender, Recipient, titulo, Texto

Set oMail = Nothing
%>

And see if the user IUSR_YOURSERVER have MODIFY permissions in the folder of
the application...



FF
www.francofigun.com.ar
www.microsofties.com.ar
MSN:
UIN: 314408886
Yahoo MSN:
"Ammar" wrote in message
news:YDFwc.1414$
Hi All!
I have been trying to use ASP to send E-mail from a web page using CDONTS;


I
tried first to run the asp file in my computer (I am running IIS under
Windows XP-Pro) but nothing happened, and the E-mail was not sent, then I
tried to uppload the files to a free ASP hosting site like 1asphost.com,


but
this didnt help either and i am getting really mad here! could anyone


please
help me??


Preguntas similares