Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Anyone know a script for QMAIL?

Status
Not open for further replies.

seraaj

Programmer
Dec 19, 2002
7
US
Can anyone out there assist me with a script for sending mail via "qmail"?

I'm developing my site in a PWS environment. My webhost is on a Red Hat/linux platform. The webhost uses qmail.

All I need is to be able to produce an email script that will allow me to send out emails from the website after visitor input.

I can "connect" to CDONTS or JMAIL or ASPMail, but I'm new to QMail and all the qmail literature seems to focus on installing and operating it. I'm not interested in changing my OS. Just want something like this:

if mailComp = "CDONTS" then
set mailObj = Server.CreateObject("CDONTS.NewMail")
mailObj.BodyFormat = 0
mailObj.MailFormat = 0
mailObj.From = fromAddr
mailObj.To = recipients
mailObj.Subject = subject
mailObj.Body = body
mailObj.Send
end if

that works for "QMAIL."

Webhost tech support is . . . . well, "still looking in to it." But I need help now, please!!!!!
 
isn't ASPMail and ASP Qmail identical syntax wise expect for the qmessage setting?

eg
mailobj.QMessage = true
for the best results to your questions: FAQ333-2924
Is your question a most FAQ?? Find out here FAQ333-3048
 
Thanks a lot!!!

Guess my naivete is showing . . .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top