Add this blog to Del.icio.us, Digg or Furl | Create Watchlist for this blog

Archive for the ‘MIMEMailPHP4’ Category

New MIMEMailPHP Version 2.1.3 released

Tuesday, January 8th, 2008

Users told me they had problems with some online mail clients (like gmx and gmail) viewing mails sent with my MIMEMailxPHP4_V2 PHP class when cid (base64 coded inline) images are contained.
There was a bug initially found by Patrick Kränzlin. This bug is fixed now, you find the current (2.1.3) Version for download (it’s open source) here.

According to the RFC2111:

Note: in Internet mail messages, the addr-spec in a Content-ID [MIME] or Message-ID [822] header are enclosed in angle brackets (<>). Since addr-spec in a Message-ID or Content-ID might contain characters not allowed within a URL; any such character (including “/”, which is reserved within the “mid” scheme) must be hex-encoded using the %hh escape mechanism in [URL].

I forgot the angle brackets in version 2.1.2

Sorry for that!

New bugfix release V 2.1.2 of MIMEMailxPHP4_V2

Wednesday, June 13th, 2007

A new bugfix release concerning compatibility. There was an issue, that inline html images (CID images) were not shown correctly in the thunderbird email client. This was caused by a wrong (but accepted by MS Outlook) MIME type in the MIME mixed-boundary.

Changed the multipart/mixed to multipart/related - now it works in all mail clients.
The BUG and FIX was reported by H. Borns. Thanks a lot!

The projects info page is here

Eine deutsche Version ist hier

New release V 2.1.1 of MIMEMailxPHP4_V2

Saturday, June 2nd, 2007

Minor bugs made a new release necessary. It’s basically kind of service release to make the usage of the package more easy.
I fixed the linefeeds in the example programs to be all DOS (”\r\n”) linefeeds. So the problems with some FTP transfers should be solved now. And I fixed the PHP Warning (”Invalid argument supplied for foreach in line 364″) for empty attachment arrays.

The new version is absolutely compatible to all prior version. If you didn’t experience any problems, there is no need to upgrade!

Download of the software is possible here.

MIMEMailPHP4 FAQ : Invalid argument supplied for foreach

Sunday, May 13th, 2007

Invalid argument supplied for foreach in line 364

This is a PHP warning from MIMEMailPHP4 V2.1 when you try to attach a binary file and the given file is not found or not readable. Use the getLastErrorCode funtion after addBinaryFileAsAttachment() to catch and handle that error in your code before sending the mail.
You can also gracefully ignore that warning.

The project pages are here.

MIMEMailPHP4 FAQ : using $mail->send(true); doesnt send anything

Sunday, May 13th, 2007

In the examples of the zip packages the “send” method is called with parameter ‘true’. Sorry, this is misleading, the parameter’s name is “debug”. And if you set it to “true” you will just get the MIME code for the message, it will not be send.

Use $mail->send(); or $mail->send(false); to really send the message!

MIMEMailPHP4 project launched online

Sunday, April 29th, 2007

The MIMEMailPHP4 project is launched on my phpCMS CMS location. Besides the documentation section it is ready done now. Hope to see you soon for a download!

This is the link to my Open Source CMS

Think I’ll do the complete documentation about 2′nd May.

MIMEMailPHP4 reached top 5 in german open source repository

Thursday, April 26th, 2007

My class MIMEMailPHP4 reached a position among the top 5 in the German open source scripting repository “php-resource” cat “Mail”.
Thanks for the good ratings :-)

Started MIMEMailPHP4 documentation in wordpress blog

Sunday, April 22nd, 2007

Today I started to document the enhancements of this MIMEMailPHP4 project with wordpress. Together with the open source content management system phpCMS it is a great possibility to easily communicate my release plan and other timed topics.

Currently I am not planing to integrate a forum for FAQs / user support. So please feel free to ask by comments.