If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Sending attachement to email

Hi,

I'm making a fileupload function that will create a watermark and border on the image uploaded.
And then it is supposed to send an email with the image to an email that is typed in a field.
But it comes with an error, it works individually, but when I put the mail function and the watermark thing together it doesn't work.

Hi,
Email attachments allow you to send files along with your email messages. An attachment can be any type of file, but the most common ones are text documents and images (photos etc).

Before you send an attachment, you need to know where it is located on your computer. Usually you will have saved the file using Windows Explorer or some other software. Whenever you save a file to use as an attachment, select "Save As..." and make a note of where you save it. If you can't find a file, use the Windows search function.

Once you know where the file is you can create the email message.

Create a new email message and enter the usual details (recipient address, subject, etc).
Look for an icon in your toolbar which looks like a paper clip and click it.
A "Browse" window will open. Locate and select the attachment file.
before you send an attachment, you must be sure the person receiving it will be able to open it. Not all attachments will work on someone else's computer!

In order to open your attachment the recipient must have the appropriate software. Some types of files are very common and most people can open them, but other types can be rare or require expensive software.