CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail »
  • Using IMAP2SOAP »
  • This is a multipart message in MIME format
Pages: [1]

Author Topic: This is a multipart message in MIME format  (Read 5546 times)

speleo

  • Ask me questions
  • ****
  • Posts: 396
  • Karma: 28
  • CiviCRM version: 4.3.1
  • CMS version: J! 2.5,9
  • MySQL version: 5.1
  • PHP version: 5.3.24
This is a multipart message in MIME format
July 18, 2008, 05:33:31 pm
When I receive replies to mailings they look fine when delivered into my servers mail box prior to being processed. However they are not displaying correctly in outlook after being processed and starts like this

Quote
This is a multipart message in MIME format.

------=_NextPart_000_0083_01C8E93A.703C8AD0
Content-Type: text/plain;
   charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Somewhere the imap2soap process appears to be adding something which messes the body up.

I'm not sure if it is connected with http://forum.civicrm.org/index.php/topic,3298.msg15267.html#msg15267 where I had to change /usr/lib/perl5/site_perl/5.8.8/HTTP/Message.pm to stop it from failing with a message about "HTTP::Message content not bytes".

Googling the issue indicates that maybe a hard return has been added to the text. Don't really know where to look...

Any ideas?

Any ideas?



john ackers

  • Guest
civimail soap server rejects the body of some messages
August 14, 2008, 04:58:56 am
This may not be related but i have discovered that a lot of bounce messages are rejected with 'Bad Request'  by the civimail soap server but not reported by current version of IMAP2SOAP.

To get around that I removed the original body from those messages that contain 'This is a copy of the message, including all the headers' before passing to the soap client.



<     my $body = SOAP::Data->type(string =>$imap->body_string($msg));
---
>     # get rid of the original message, if it is identifiable.
>
>     my @body_parts = split(/This is a copy of the message, including all the headers/,
>     $imap->body_string($msg));
>
>     my $body = SOAP::Data->type(string =>$body_parts[0]);


I think it is unlikely that civimail bounce handling looks at the original message.

John

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail »
  • Using IMAP2SOAP »
  • This is a multipart message in MIME format

This forum was archived on 2017-11-26.