[ZendTo] Re: Malformed email from address

--[ UxBoD ]-- uxbod at splatnix.net
Mon Nov 21 12:16:00 GMT 2011


Christian, 

Exactly my point which makes me believe you have a special character somewhere in that config variable. If you do cat -v zendto.conf do you see any strange characters ? You could just delete what is within the quotes and re-type it just to make sure. 

-- 
Thanks, Phil 

----- Original Message -----

> Hi Phil,

> The code causing the problems is:

> if (preg_match('/[^\x00-x\7f]/', $this->_emailSenderAddr)) {
> $sender =
> "=?UTF-8?B?".base64_encode(html_entity_decode($this->_emailSenderAddr))."?=";
> } else {
> $sender = $this->_emailSenderAddr;
> }

> In NSSDropbox.php->deliverEmail()

> When it only does „$sender = $this->_emailSenderAddr;“ then it works
> for me.

> Christian

> --
> ________________________________________________________________________
> Christian Bendt
> Informationstechnologie
> Logo: MAERKISCHES WERKMärkisches Werk GmbH
> Haus Heide 21
> 58553 Halver, Germany
> Tel: 	+49 (2353) 917-322
> Fax: 	+49 (2353) 917-1322
> E-Mail: 	c.bendt at mwh.de
> http://www.mwh.de

> Visit us at German Pavilion W4 Booth 4E 21-4
> ________________________________________________________________________
> Geschäftsführer: Christiane Dahlhaus, Dr. Rudolf H. Stanglmaier
> Handelsregister: AG Iserlohn, HR B 3754
> Sitz der Gesellschaft: Halver
> Disclaimer: http://disclaimer.mwh.de

> Von: zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] Im
> Auftrag von --[ UxBoD ]--
> Gesendet: Donnerstag, 17. November 2011 12:22
> An: ZendTo Users
> Betreff: [ZendTo] Re: Malformed email from address

> Hmm, in NSSDropbox.php->deliverEmail() it does:

> if (preg_match('/[^\x00-x\7f]/', $fromAddr)) {
> $fromAddr =
> "=?UTF-8?B?".base64_encode(html_entity_decode($fromAddr))."?=";
> }

> but if you do not have any special characters in that configuration
> variable then I am struggling to see why it would be encoding the
> address.

> --
> Thanks, Phil

> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20111121/3f76a1fd/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mwh.jpg
Type: image/jpeg
Size: 8865 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20111121/3f76a1fd/attachment-0001.jpg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tel.gif
Type: image/gif
Size: 943 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20111121/3f76a1fd/attachment-0003.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fax.gif
Type: image/gif
Size: 870 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20111121/3f76a1fd/attachment-0004.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: email.gif
Type: image/gif
Size: 873 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20111121/3f76a1fd/attachment-0005.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: marintec_2011.png
Type: image/png
Size: 150054 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20111121/3f76a1fd/attachment-0001.png 


More information about the ZendTo mailing list