SunQuest
           Perl Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPerl Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old August 18th, 2000, 08:27 AM
ActionPoint ActionPoint is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Posts: 2 ActionPoint User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I have a form on my web site that visitors can complete and the results are sent to me via e-mail. I'd like to add a 'browse' field to the form so that when the visitor submits the form, the e-mail is sent with their chosen text, wordprocessor or other file (if they chose one) included as an attachment.

Can anyone help please?

Reply With Quote
  #2  
Old August 18th, 2000, 03:58 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Try Sender.pm. Get it from -> http://www.perl.com/CPAN-local/modules/by-module/Mail/Mail-Sender-0.7.04.tar.gz

Download such file and extract it, then you will find examples.

Reply With Quote
  #3  
Old August 18th, 2000, 05:04 PM
ActionPoint ActionPoint is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Posts: 2 ActionPoint User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thank you, I downloaded this but I'm on a virtual server that doesn't have Telnet access so I couldn't install it URL

Thanks again anyway URL


Reply With Quote
  #4  
Old August 18th, 2000, 06:34 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
You might not need to install it. If you extracted Mail-Sender-0.7.04.tar.gz, you should see a file called "Sender.pm", that is the one you needed. You can simply upload this file to your server but be sure to create a Mail directory and place Sender.pm in it.
i.e. /data/vhost/actionpoint.com/lib/Mail/Sender.pm

In your script, add a "use lib" line like so:

use lib '/data/vhost/actionpoint.com/lib';
use Mail::Sender;

You should check -> http://www.devshed.com/Talk/Forums/Forum6/HTML/000340.html and see if your server already have Mail::Sender installed or not.

Anyway, you can try to use it by specifying the use Mail::Sender; line without the "use lib" line and see if it produces any error "@INC...".

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > form-email with attachment


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway