FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » CLP - ON TOPIC! - Need PHP form email help, Please!
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: CLP - ON TOPIC! - Need PHP form email help, Please! [message #173140 is a reply to message #173139] Thu, 24 March 2011 04:08 Go to previous messageGo to previous message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma:
Senior Member
On Wed, 23 Mar 2011 21:46:12 +0100, Jonathan Stein wrote:

> On 23-03-2011 19:05, Tim wrote:
>
>> I also find it strange, and very frustrating, that I seem to have to
>> become a php expert just to make this one form page behave the way I
>> want.
>
> The PHP is actually rather simple, and the good thing is that PHP has
> built in functions for most of the operations, that you need.
>
> However you do need a good knowledge of multi-part MIME messages to
> succeed.

Indeed

>> There are no references or tutorials that I have found that address
>> this,
>
> I tried "php send email embedded image" on Google - first suggestion was
> http://www.phpeveryday.com/articles/PHP-Email-Using-Embedded-Images-in-
HTML-Email-P113.html
> - I think that's what you're looking for.

Yes, I tried to take that and, as an exercise in making sure I understood
it, make it work with an array of attached files.

I did discover that on my linux server, I needed to sort out some cr/lf
issues before it would work properly, and there was a warning generated
(first use of headers is '$headers .=' which causes "variable is
undefined").

However, I made it work, it wasn't overly difficult, looking at the raw
text source of valid messages with attachments in my mail client helped
me see where the problems were when the mail client wasn't interpreting
what it received the way I expected and wanted it to.

Rgds

Denis McMahon
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ip address of client
Next Topic: Islandnet.com dropping support for PHP4
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 21:41:31 GMT 2024

Total time taken to generate the page: 0.03938 seconds