Fino all'altro giorno tutto funzionava, avevo installato sul mio sito la patch per spedire mail in asp, indicando come provider smtp.aruba.it...
Da ieri non funziona più! Appare questo errore: Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed /includes/mail-inc.asp, line 13 800401f3
Qualcuno sà cosa significa? E' forse Aruba che non permette più l'invio di posta tramite questo sistema? Mi sapete indicare un altro mailserver che potrei usare al posto di quello di Aruba?
... in pratica è quello originale, avevo solo cambiato l'indirizzo del mail server...
<% ' Send mail with ASPEMail ' IN : sSender (string) : sender of the mail ' : sRecipient (string) : recipient of the mail (can use ; to send to many recipients) ' : sSubject (string) : subject of the mail ' : sText (string) : content of the mail ' : bHTML (boolean) : send HTML or text mail ' OUT : (boolean) : True Function SendMail(ByVal sSender, ByVal sRecipient, ByVal sSubject, ByVal sText, ByVal bHTML) Dim oMail Const ASPEMAIL_HOST = "smtp.aruba.it"
Set oMail = Server.CreateObject("Persits.MailSender") ' change it if you're not hosted by efrance oMail.Host = ASPEMAIL_HOST oMail.From = sSender oMail.FromName = sSender oMail.AddAddress sRecipient oMail.Priority = "3" oMail.Subject = sSubject oMail.IsHTML = bHTML
If bHTML Then oMail.Body = "<html><body>" & vbCRLF & Text2HTML(sText) & vbCRLF & "</body></html>" Else oMail.Body = sText End If
On Error Resume Next oMail.Send If Err <> 0 Then Err.Clear SendMail = False Else SendMail = True End If End Function %>
10 febbraio 2004 alle 16:30:25 Scusami, ma, non capisco che file è questo? Cioè da quale programma in Asp è stato tratto? Non è un file di AspNuke. Ciauzz DJ
--------------- A lavare la testa ai somari, ci si rimette l'acqua e il sapone!
13 febbraio 2004 alle 22:45:59 Oppsss è vero, non ci avevo mai fatto caso, è una patch ripresa da Gat di AspNuke.com, io ti consiglerei di usare il mail-inc.asp originale se sei WIN2000 o il mail-inc.asp modificato se sei su 2003Server, dato che Aruba, sui "vecchi" server usa CDONTS e su quelli "nuovi" CDOSYS quale componente per l'invio della posta. Il file mail-inc.asp modificato lo trovi nella sezione articoli, se eventualmente vuoi sapere con certezza su quale tipo di server sei ospitato, puoi scaricare dal mio portale il file varserver.zip. Ciauzz DJ
--------------- A lavare la testa ai somari, ci si rimette l'acqua e il sapone!