acemo
11-01-2005, 09:51 AM
Could someone explain what this script does?
when looking at the <- thingy's i understand this script enough?
[code]
<%
function mailer(message, mailTo)
Dim mail
set mail = Server.CreateObject("Persits.MailSender")
mail.host = smtp <- i put here my smtp host
mail.port = port <- i put here the port of my smtp host
mail.from = "Fromme@domian.com" <- i put here the address to be the sender address
mail.fromname = "From Me" <- i put here the name to be the sender name
mail.AddAddress MailTo 'passed to this function
mail.addbcc "bbcme@domain.com" <- i put here the bcc address
mail.subject = "email subject" <- i put here the subject of the email
mail.body = message ' email message <- i put here an variable with the body of the mail
mail.IsHTML = True
On Error Resume Next
Mail.Send
end function
%>
[code]
when looking at the <- thingy's i understand this script enough?
[code]
<%
function mailer(message, mailTo)
Dim mail
set mail = Server.CreateObject("Persits.MailSender")
mail.host = smtp <- i put here my smtp host
mail.port = port <- i put here the port of my smtp host
mail.from = "Fromme@domian.com" <- i put here the address to be the sender address
mail.fromname = "From Me" <- i put here the name to be the sender name
mail.AddAddress MailTo 'passed to this function
mail.addbcc "bbcme@domain.com" <- i put here the bcc address
mail.subject = "email subject" <- i put here the subject of the email
mail.body = message ' email message <- i put here an variable with the body of the mail
mail.IsHTML = True
On Error Resume Next
Mail.Send
end function
%>
[code]