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

Edited by plodos
Link to comment
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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.