[ZendTo] Re: Malformed email from address
Bendt, Christian
c.bendt at mwh.de
Mon Nov 21 13:33:03 GMT 2011
Thank you Geoff,
after correcting this the problem is solved without changing my configuration.
Christian
Von: zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] Im Auftrag von Geoff Bell
Gesendet: Montag, 21. November 2011 13:03
An: ZendTo Users
Betreff: [ZendTo] Re: Malformed email from address
Hi,
Is that regular expression correct? It looks like it ought to be '/[^\x00-\x7f]/' (the second backslash is in the wrong place)
Regards
Geoff
On 21/11/2011 11:51, Bendt, Christian wrote:
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
________________________________________________________________________
Christian Bendt
Informationstechnologie
Märkisches Werk GmbH
Haus Heide 21
58553 Halver, Germany
:
+49 (2353) 917-322
:
+49 (2353) 917-1322
:
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/96dbacf1/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 8865 bytes
Desc: image001.jpg
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20111121/96dbacf1/attachment-0001.jpe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 943 bytes
Desc: image002.gif
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20111121/96dbacf1/attachment-0006.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 870 bytes
Desc: image003.gif
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20111121/96dbacf1/attachment-0007.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 873 bytes
Desc: image004.gif
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20111121/96dbacf1/attachment-0008.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 150054 bytes
Desc: image005.png
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20111121/96dbacf1/attachment-0002.png
-------------- 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/96dbacf1/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/96dbacf1/attachment-0009.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/96dbacf1/attachment-0010.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/96dbacf1/attachment-0011.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/96dbacf1/attachment-0003.png
More information about the ZendTo
mailing list