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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need Some Help ASAP!

Status
Not open for further replies.

linuxjr

Programmer
Jun 2, 2001
135
US
I have researched on cdonts on the forum and found a lot of great tips. I realize I do not have cdonts on my computer for I am using Win98 and PWS at home. I am doing contract work for some people from home strange part they will not let me in the office to work there to put stuff together for them I know what?! Anyway I need to know I believe they have a SMTP Server with IIS 4.0 on Windows NT 4 Server. I have written a few scripts and everything worked successfully. I now have a project that is a form which I have made before and no problems there. Its got to do two things when the user submits the form it needs to write to an Access 2000 database and email a html form to a person's email. Now I am wondering how to start for I know how to insert but where to get the emailing function and to test it. I have seen the posts for ASP email and downloading it as I write this post. But is there not like some ASP sites that I could write the code and get it to work to me and then just submit the project to the person I work for and make the small changes. Any suggestions or tips be greatly appreciated.
 


linuxjr,

Here is some syntax for ASPQmail. Hope this helps.

fegnshui1998

Set oMailer = CreateObject("SMTPsvg.Mailer")
oMailer.FromName = "From Name"
oMailer.FromAddress = "From Address"
oMailer.RemoteHost = "'smtpserver'.com"
oMailer.AddRecipient recip, recip
oMailer.CC = "CC address"
oMailer.Subject = "Subject here"
oMailer.BodyText = msg
oMailer.SendMail
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top