[PHP] wordwrap doesn't work for customer's Outlook

2002-06-25 Thread m u i n a r
Is there really no solution to this issue? Is everyone using wordwrap to wrap their newsletter texts, or is there a way that works as well with Ms Outlook? Thanks a lot Recap: - Ms Outlook gets everything on 1 line when I use wordwrap( $text,76,\r\n ). - Ms Outlook shows nice line breaks when

[PHP] wordwrap doesn't work for customer's Outlook

2002-06-24 Thread m u i n a r
Hello What would *you* do if you wordwrap a text and send it via the mail() command, and your costumer gets the whole text on 1 single line? I'm using $newtext = wordwrap( $text,76,\r\n ); He has Outlook. When I'm testing it in my Eudora, in Bat and in Outlook Express, it's wrapped nicely.

[PHP] wordwrap doesn't work for customer's Outlook

2002-06-24 Thread m u i n a r
This is really frustrating: We found two versions of Outlook on different machines, that have been installed with the default settings, that 'eat' the line breaks which were made with PHP's wordwrap() function. There are no line breaks at all! On one of the machines there's also a version of

[PHP] newsletter wordwrapping for Outlook?

2002-05-28 Thread m u i n a r
Hello I'm wrapping a newsletter with $message = wordwrap( $message1,75,\r\n ); before sending it out. still, my customer with his Outlook client gets everything on one line! (Eudora and Outlook Express on my own machine display it fine.) Any takes? Thank you. -- PHP General

Re: [PHP] newsletter wordwrapping for Outlook?

2002-05-28 Thread m u i n a r
Everything ok. Like often, in the minute I sent my posting, I got a message from the customer that it looks great now. This list seems to help metaphysically:) Have a nice day. Mike At 11:00 28.05.02, you wrote: Hello I'm wrapping a newsletter with $message = wordwrap( $message1,75,\r\n

Re: [PHP] mail() with images *embedded*

2002-05-24 Thread m u i n a r
At 06:05 24.05.02, you wrote: On Friday 24 May 2002 04:15, m u i n a r wrote: Hi Listees ;) After several hours of googling and testing, I'm asking the list for some help with this PHP mail() question: How do you send email with images *embedded* in the message? To find out how

Re: [PHP] mail() with images *embedded*

2002-05-24 Thread m u i n a r
At 08:44 24.05.02, you wrote: I used: img src='cid:piccy.jpg Which I think was what you had as well. Then in the mime parts: Content-Type: image/jpeg; name=piccy.jpg Content-Transfer-Encoding: base64 Content-ID: piccy.jpg Content-Disposition: inline; filename=piccy.jpg Thanks!

Re: [PHP] mail() with images *embedded*

2002-05-24 Thread m u i n a r
settings, I assume there's still an error in the code? TIA Mike At 10:34 24.05.02, you wrote: On Friday 24 May 2002 15:36, m u i n a r wrote: [snip] The encoding works, the message looks fine, just the images are not embedded but attached. Aaargh :( Like I said before it, what I had works

Re: [PHP] deleteing a file from server

2002-05-24 Thread m u i n a r
At 13:34 24.05.02, you wrote: I use the copy function to copy a file to the server, like this; copy($file, ./jpg/$name.jpg); what would I do to removeit from the server, or delete it? if( file_exists( $dirName/$file ) ) { unlink( $dirName/$file );

Re: [PHP] mail() with images *embedded*

2002-05-24 Thread m u i n a r
Works! It was the order how headers and message were composed in the script. Now even my Eudora displays it fine. Now I'm gonna switch back to my old email settings... ;) Thanks for having time. Mike At 11:51 24.05.02, you wrote: Can I assume that Eudora /does/ show inline images given a

[PHP] mail() with images *embedded*

2002-05-23 Thread m u i n a r
Hi Listees ;) After several hours of googling and testing, I'm asking the list for some help with this PHP mail() question: How do you send email with images *embedded* in the message? (I managed to send them embedded with real URLs so they are d'loaded when the message is viewed - but here we