Jump to content

SMTP Email Attachment - Simple


plodos

Recommended Posts

mail addAttachment(fileatt)

is not working ?

 

How can I get the file from the online form ?

 

 

FORM

 

<form name="form" method="POST" enctype="multipart/form-data" action="sendauthorX.php">

 

<tr>

<td width="175">Attach Your File</td>

<td>Acceptable file types (.zip,.rar)<p><input name="fileatt" type="file" id="fileatt" size="60"></td>

</tr>

<td><input type="submit" value="Send!"></td>

 

</form>

sendauthorX.php

Link to comment
https://forums.phpfreaks.com/topic/273950-smtp-email-attachment-simple/
Share on other sites

How can I get the file from the online form ?

 

There are about 200,000 php upload examples posted on the Internet. Start by examining some of them.

 

Once you have successfully uploaded the file and checked for upload errors, you can use the uploaded file information in your email attachment.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.