[thelist] E-mail attachments in ASP

Anthony Baratta Anthony at Baratta.com
Mon Mar 25 20:00:01 CST 2002


At 05:44 PM 3/25/2002, Jason Lustig wrote:

>1. How do I get the SMTPsvg.Mailer class to send something as an attachment
>to the email?
>
>2. How do I get the uploaded file to get itself attached to the email? I
>don't want to put it on the server or anything, just sent along to the
>magazine's editor...

http://www.serverobjects.com/comp/Aspmail3.htm

OR

http://www.serverobjects.com/comp/Aspmail4.htm

Basically, save the file in a temp location on the server and using the
AddAttachment method, attache the file to your target email message.
--
Anthony Baratta
President
Keyboard Jockeys

"Conformity is the refuge of the unimaginative."




More information about the thelist mailing list