Ragazzi ho trovato uno script per l'invio delle cartoline elettronike... pero mi da questo errore....
Server.CreateObject Failed
/public/postcardmentor/incgenmail.asp, line 4
ora vedendo questo ho aperto il file e ke mi porta questo codice
<%
Function SendEmail( sEmailServer, sFromEmail, sToEmail, sSubject, sText )
Dim objMail
set objMail = server.createobject("SMTPsvg.Mailer")
objMail.FromName = sFromEmail
objMail.FromAddress = sFromEmail
objMail.RemoteHost = sEmailServer
objMail.AddRecipient sToEmail, sToEmail
objMail.Subject = sSubject
objMail.BodyText = sText
if objMail.SendMail then
SendEmail = ""
else
' Message send failure
SendEmail = objMail.Response
end if
Set objMail = nothing
End Function
%>
La riga ke interessa e la seguente:
set objMail = server.createobject("SMTPsvg.Mailer")
cosa devo cambiare?
penso ke sia il fatto ke sto su server aruba ed hanno come sistema windows server 2003...
per favore mi potete modificare questo codice
Grazie a voi
Server.CreateObject Failed
/public/postcardmentor/incgenmail.asp, line 4
ora vedendo questo ho aperto il file e ke mi porta questo codice
<%
Function SendEmail( sEmailServer, sFromEmail, sToEmail, sSubject, sText )
Dim objMail
set objMail = server.createobject("SMTPsvg.Mailer")
objMail.FromName = sFromEmail
objMail.FromAddress = sFromEmail
objMail.RemoteHost = sEmailServer
objMail.AddRecipient sToEmail, sToEmail
objMail.Subject = sSubject
objMail.BodyText = sText
if objMail.SendMail then
SendEmail = ""
else
' Message send failure
SendEmail = objMail.Response
end if
Set objMail = nothing
End Function
%>
La riga ke interessa e la seguente:
set objMail = server.createobject("SMTPsvg.Mailer")
cosa devo cambiare?
penso ke sia il fatto ke sto su server aruba ed hanno come sistema windows server 2003...
per favore mi potete modificare questo codice
Grazie a voi