View Full Version : How I send email, and how this email to contain an asp doc ?
06-18-2007, 03:51 PM
How I send email, and how this email to contain an asp doc [eg. confirm.asp, hence with graphics, links, buttons, more] ?
06-18-2007, 04:32 PM
You can send email using CDOSYS or any of the free emailing programs out there (see http://www.aspemail.com, http://www.jmail.com, etc).
All of these email systems can send attachments/ confirmation pages.
06-18-2007, 04:37 PM
Please give me an example....
Please note: graphics in the email not attachment ....
06-18-2007, 05:04 PM
Well, I use a 3rd party emailer, so you will have to choose one that you like best. ASPEmail, JMail and CDOSYS are all free, so you can pick and choose.
All have slightly different formatting, so you will have to use their code for examples (Miranda has a post (http://www.codingforums.com/showthread.php?t=116036) on this forum with a good CDOSYS example.)
As to the graphics in the email, you just need to store them on your server as you would any other image and reference them in your ASP/HTML page using the full HTTP address
<img src="http://www.yoursite.com/images/image1.jpg" width="32" height="32">
You would send the "confirm.asp" as an HTML file to your recipient.
Basically, create the page as you would normally and then use COPY and PASTE the code into your emailer body. Make sure to set the IsHTML = true, and you are all set.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.