Fellicia
08-24-2000, 01:59 AM
I hope someone would help me in this coz I'm a new bee in cgi-perl.
1) I have a form for user to key in data where these info will be sent to a email address. I've tried this code :
$subject = "new proposal";
open(MAIL, "|/usr/lib/sendmail fellicia\@g-lab.com");
print MAIL "from : me";
print MAIL "to : u";
print MAIL "subject : $subject";
print MAIL "hai hai hai";
close MAIL;
I'm not sure at the email address part, do i need to add \ beside @. If i don't, i get error. Anyway, after i add \, the code is ok but i can't get the mail. So is this correct or i can use anotehr way?
2) I would allow user to upload their resume to my server instead of typing again and again. So, how to do uploading file?
Thank's. :)
Regards, Fellicia
(Email : fellicia@g-lab.com)
1) I have a form for user to key in data where these info will be sent to a email address. I've tried this code :
$subject = "new proposal";
open(MAIL, "|/usr/lib/sendmail fellicia\@g-lab.com");
print MAIL "from : me";
print MAIL "to : u";
print MAIL "subject : $subject";
print MAIL "hai hai hai";
close MAIL;
I'm not sure at the email address part, do i need to add \ beside @. If i don't, i get error. Anyway, after i add \, the code is ok but i can't get the mail. So is this correct or i can use anotehr way?
2) I would allow user to upload their resume to my server instead of typing again and again. So, how to do uploading file?
Thank's. :)
Regards, Fellicia
(Email : fellicia@g-lab.com)