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!

ASP Mail

Status
Not open for further replies.

bunnyweb

MIS
Jan 13, 2003
42
IE
Hi Everyone,

I'm trying to get a grasp on what ASP Mail is and how it works. Is it an Active X component that I need to purchase or is it more like a protocol that ASP uses? And even more importantly, how do I get my hands on it?

Any help and information would be greatly appreciated!

Thanks!

Rachel
 
Thanks jGar, but I'm trying to avoid CDO because the application I am writing will be distributed to many different web servers and I don't know what OS all of them will be running.

Is there an ASP mail component or something I can use that will let me email through a web form without being concerned of the OS of the web server?

Thanks!

Rachel
 
ASPMail is jsut another SMTP mail component. To use this you must have the component (DLL) installed on the server.
here's the complete manula on ASPMail

also a tutorial on using it

____________________________________________________
Python????? The other programming language you never thought of!
thread333-584700

onpnt2.gif
 
using dreamweaver I inserted information in database, and after inserting info, user is redirected to a thank you page where he can see all the info submitted. in the thank you page, I have a recordset based in the last insterted record. I'm using ASPMAIL and I can't send the mail to the user. code I'm using:

Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.FromName = "mysite.com"
Mailer.FromAddress = "webmaster@mysite.com"
Mailer.AddRecipient rs_users.Fields.Item("name").Value, rs_users.Fields.Item("email").Value
Mailer.RemoteHost = "mail.mysite.com"
Mailer.ReplyTo = "webmaster@mysite.com"
Mailer.Subject = "Your order at Mailer.BodyText = msgBody

BUT i'm getting the error message:

Type mismatch: 'Mailer.AddRecipient'

any advice will be appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top