[ZendTo] Re: Malformed email from address

Bendt, Christian c.bendt at mwh.de
Mon Nov 21 11:51:54 GMT 2011


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
Märkisches Werk GmbH
Haus Heide 21
58553 Halver, Germany
Tel:    +49 (2353) 917-322
Fax:    +49 (2353) 917-1322
E-Mail: mailto:c.bendt at mwh.de
        http://www.mwh.de
________________________________________________________________________
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

 

 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20111121/98bcbf73/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/98bcbf73/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/98bcbf73/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/98bcbf73/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/98bcbf73/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/98bcbf73/attachment-0001.png 


More information about the ZendTo mailing list