Da CDONTS a CDOSYS mailinglist
nerocdb non è online. Ultima attività: 28/04/2008 18.23.19nerocdb
Inserito il: 28 aprile 2008 18.23
1 messaggio dal 28 apr 2008 Istalla Microsoft Silverlight!
Salve, chiedo cortesemente aiuto a chiunque possa aiutarmi

vorrei poter trasformare il file che riporto di sotto da CDONTS a CDOSYS.

Premetto che ho fatto varie ricerche sia su questo che su altri forum ma senza successo. Purtroppo non conoscendo l'ASP ho fatto più danni che altro.

Ecco la funzione CDONTS del file:

<%
'Send CDONTS E-mail component Function
Private Function CDONTSSendMail(strEmailAddress)

Dim objCDOMail 'Holds the CDONTS e-mail object

'Create the e-mail server object
Set objCDOMail = Server.CreateObject("CDONTS.NewMail")

'Who the e-mail is from
objCDOMail.From = strWebsiteName & " <" & strWebsiteEmailAddress & ">"

'Who the e-mail is sent to
objCDOMail.To = strEmailAddress

'The subject of the e-mail
objCDOMail.Subject = strSubject

'The main body of the e-mail
objCDOMail.Body = strEmailBody & strAppendToEmail

'Set the e-mail body format (0=HTML 1=Text)
If Request.Form("format") = "HTML" OR Request.Form("format") = "advHTML" Then
objCDOMail.BodyFormat = 0
Else
objCDOMail.BodyFormat = 1
End If

'Set the mail format (0=MIME 1=Text)
objCDOMail.MailFormat = 0

'Importance of the e-mail (0=Low, 1=Normal, 2=High)
objCDOMail.Importance = 1

'Send the e-mail
objCDOMail.Send

'Close the server mail object
Set objCDOMail = Nothing

'Return the function as true
CDONTSSendMail = True

End Function


Grazie a tutti
Carlo
RE: Da CDONTS a CDOSYS mailinglist
Maxiz non è online. Ultima attività: 12/05/2008 17.16.27Maxiz
Inserito il: 29 aprile 2008 12.57
www.ricarichestampanti.it / 394 messaggi dal 11 ago 2004 Istalla Microsoft Silverlight!
vedi se ti può essere di aiuto
http://asp.html.it/script/vedi/1025/inviare-mail-con-cdosys/

MI RACCOMANDO VISITATE IL MIO SITO! GRAZIE! :)
http://www.ricarichestampanti.it/ e http://www.carrestyling.com/
E come editor di testo ricordate esiste Edit Plus 2!
http://www.editplus.com

Vai a:

ASPItalia.com non è responsabile per il contenuto dei messaggi presenti su questo servizio, non avendo nessun controllo sui messaggi postati nei propri forum, che rappresentano l'espressione del pensiero degli autori.


COMMUNITY
ULTIMI MESSAGGI


IN EVIDENZA
MISC
Powered by .db Forums