View Full Version : Attach File with ASPMail
09-23-2002, 05:51 AM
Is it possible to allow a user to attach a file from their PC to be sent to a set email address using ASPmail Scripts?
Also is there a dummies guide to ASPMail on the web anywhere, I found that aspmail.com is not very helpful, unless its **** you was after!!!
09-24-2002, 10:01 PM
Yeah...I've made the ASPMail dot com error before, too. :eek:
However, I just found a pretty decent page for ASPMail that can be found here (http://www.prestwood.com/internet/support/aspmail.html). It isn't as technical as the manufacturer's docs and has examples of error checking, adding attachments, etc. It also helps with troubleshooting.
However, as it mentions on that page, you can't just attach a file from the user's computer. Instead, you have to find a script that will upload the image to a directory on the server. Then, you send the e-mail with the attachment, and then you delete the uploaded file (or you can leave it if you prefer). Server Components such as SA FileUp make uploading extremely easy, but if you don't have that luxury, there are upload scripts done completely in VBScript/ASP. If you search this forum, you should find links to some of those. I remember seeing a couple in the user contributions section of ASP101.com.
Anyway, I hope that food for though helps some. Let me know if you have any questions!
09-25-2002, 03:02 AM
Yes ASPmail dot com was a complete shock on our heavily monitored internet traffic, I work in Local Government need I say more!.
Thanks for the link, it looks like the 'best expained' I 've seen so far.
Powered by vBulletin® Version 4.1.12 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.