Hi,
I have been searching about how to make an email form with file attachment, for example images, but I couldn't find nice tutorials on the web. Maybe you could do one.
Thanks.
Email form with file attachment
Re: Email form with file attachment
I personally haven't done any sending emails with attachments.
But a quick google search produced this
http://www.texelate.co.uk/blog/send-ema ... -with-php/
and
http://www.webcheatsheet.com/PHP/send_e ... chment.php
both give the code to do it and seeing what is happening is pretty straight forward.
{google search - php add attachment to email}
{google link to that search - http://www.google.co.uk/search?rlz=1C1A ... t+to+email}
But a quick google search produced this
http://www.texelate.co.uk/blog/send-ema ... -with-php/
and
http://www.webcheatsheet.com/PHP/send_e ... chment.php
both give the code to do it and seeing what is happening is pretty straight forward.
{google search - php add attachment to email}
{google link to that search - http://www.google.co.uk/search?rlz=1C1A ... t+to+email}
Re: Email form with file attachment
It is basically just using the mail function , the problem is that you have to set some headers and format the body in a specific way which is not that obvious.
I could probably do this if a few people would be interested.
I could probably do this if a few people would be interested.
Re: Email form with file attachment
I hope they do as I believe this would be a nice tutorial for all PHP beginners. If you do the tutorial, could you please also include attaching images?jacek wrote:It is basically just using the mail function , the problem is that you have to set some headers and format the body in a specific way which is not that obvious.
I could probably do this if a few people would be interested.
And thanks for the links Jacek.
Re: Email form with file attachment
I would also like one please! 8) (<-- beady eyes)jacek wrote:I could probably do this if a few people would be interested.
Re: Email form with file attachment
+1. That would be a good tutorial ID (hum, idea)
Re: Email form with file attachment
jacek wrote:Okay, this seems popular, I will do this one next.