Forum Moderators: phranque

Message Too Old, No Replies

How to send files to an e-mail address?

         

KSAMktg

6:46 am on Sep 6, 2005 (gmt 0)

10+ Year Member



Hi,

I'm new to this forum, so I appreciate any help you can give.

I want visitors to fill in their contact information in a form to receive a report (PDF file) sent to their e-mail address.

Any suggestions on how this works? Places to start? Are there vendors that supply this - like companies that run "tell a friend" capabilities?

Thanks for any ideas!

Kathleen

Matt Probert

1:44 pm on Sep 6, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You may like to search for a "mailto form". Basically, you have an HTMl form that collects the data from the user, and this form then contacts through CGI an external program (perhaps Perl or PHP) which collects the data from the form and sends the email - any files will be sent as attachments.

There are lots of free examples available. Some with major security issues that can be used by spammers to send email out through your server! So be careful!

Matt

KSAMktg

2:40 pm on Sep 6, 2005 (gmt 0)

10+ Year Member



Matt,

Thanks so much. I didn't even know what to call the capability. I'll do some research - and make sure I don't open myself up to spammers.

Appreciate the assist.

Kathleen

KSAMktg

3:27 pm on Sep 6, 2005 (gmt 0)

10+ Year Member



Hello again,

From what I can tell, a mailto: form sends the results from a form to me.

What I'm trying to do is to get a visitor to fill out a form selecting report(s) they want to receive, have the information in the form sent to me,

BUT THEN, have the files they selected e-mailed to them.

This may use the mailto: code, but there's a lot more to it?

Kathleen

bill

3:55 am on Sep 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Perhaps looking around for the keywords "form processing script" or "cgi form" might yield more results. There are some fairly complicated scripts out there that may do exactly what you want. A good free resource is hotscripts.com [hotscripts.com].

KSAMktg

4:06 am on Sep 7, 2005 (gmt 0)

10+ Year Member



Bill,

Thanks for the post. I'll try your suggestions. If it's a really complicated script, I may need to use a vendor. I'm not that technical. But, I'll give it a try.

Thanks again,

Kathleen