You are here:
Email With Attachments Script in PHP
Finally, it`s quick and easy to send email from your web pages or forms with attachments!
Just include this PHP script in your web page, and call the mail_attachment attachment function with the path to the file you wish to attach.
function mail_attachment ($from , $to, $subject, $message, $attachment)
The script will strip off the path information from the file, attach it to the email, and send it to the specified recipient. You pass in the full path to the file, as in /var/www/images/my_family_photo.jpg, and your user will receive an attachment titled "my_family_photo.jpg" in their inbox, along with the subject and message of your choice.
Script Info:
Email With Attachments Script in PHP from Form Processors Scripts.http://4wordsystems.com/php_mail_attachment.php
|
||||||||
|
« Back to Form Processors
Comments
Only registered users can post comments!
Login
Featured
Sponsored
