OrcaAssassina
19-02-2009, 08:12
Ho trovato questa sintassi ma va in errore:
<%
Set oMail = Server.CreateObject("CDONTS.NewMail")
%>
<%
with oMail
.From = "[email protected]"
.To = "[email protected]"
.CC = "[email protected]"
.BCC = "[email protected]"
end with
%>
<%
with oMail
.Subject = "Iscrizione"
.Body = "Saluti Da Marco"
.Importance = 1 ' 0=low, 1=normal (default), 2=high
.BodyFormat = 1 ' 0=HTML, 1=plain text (default)
.MailFormat = 1 ' 0=MIME (use for HTML e-mail), 1=plain text (default)
end with
%>
<%
oMail.Send
Set oMail = Nothing
%>
Mi va in errore alla prima riga:
Set oMail = Server.CreateObject("CDONTS.NewMail")
Sapete dirmi come modificarla?
Ciao e grazie
<%
Set oMail = Server.CreateObject("CDONTS.NewMail")
%>
<%
with oMail
.From = "[email protected]"
.To = "[email protected]"
.CC = "[email protected]"
.BCC = "[email protected]"
end with
%>
<%
with oMail
.Subject = "Iscrizione"
.Body = "Saluti Da Marco"
.Importance = 1 ' 0=low, 1=normal (default), 2=high
.BodyFormat = 1 ' 0=HTML, 1=plain text (default)
.MailFormat = 1 ' 0=MIME (use for HTML e-mail), 1=plain text (default)
end with
%>
<%
oMail.Send
Set oMail = Nothing
%>
Mi va in errore alla prima riga:
Set oMail = Server.CreateObject("CDONTS.NewMail")
Sapete dirmi come modificarla?
Ciao e grazie