Author Topic: Email will not encode - attachments, HTML etc.  (Read 1384 times)

0 Members and 1 Guest are viewing this topic.

kintax

  • Guest
Email will not encode - attachments, HTML etc.
on: Thu, 19. June 2003 - 00:28:05
Hi,

I am trying to use vlibMimeMail and nearly have it working.  It sends my message but the message that one receives is just the raw data - for example, I receive the following email (>> is my own notation):

>>This is a multi-part message in MIME format.
>>
>>--
>>Content-Type: multipart/alternative;
>>boundary=""
>>
>>
>>--
>>Content-Type: text/html; charset=us-ascii
>>Content-Transfer-Encoding: 7bit
>>
>><html>
>><body>

etc etc.

I am using the newest version of PHP, the newest version of vlibMimeMail, and Windows 2000/IIS.  I have screwed around with the class a bit but nothing that should have effected this.

Any ideas?
Thanks,
Eric

releasedj

  • Guest
Email will not encode - attachments, HTML etc.
Reply #1 on: Thu, 19. June 2003 - 09:16:07
It looks like you're missing the boundaries.

This doesn't happen in the latest version with my tests, so I assume that it's something you changed.

Have a look through around line 420 and down. Look for $this->boundary and $this->boundary_alt.

Regards,

Kelvin

kintax

  • Guest
Email will not encode - attachments, HTML etc.
Reply #2 on: Thu, 19. June 2003 - 17:17:26
As I expected, you were right.  I had changed the name of the class, and not changed the name of the private function that applied the boundaries.  Works great now thank you!

releasedj

  • Guest
Email will not encode - attachments, HTML etc.
Reply #3 on: Fri, 20. June 2003 - 11:00:10
Cool.