[bugs] [Bug 999] New - Send emails with .\n incorrectly!

bugs@bugs.horde.org bugs@bugs.horde.org
Tue, 23 Jul 2002 08:53:47 -0300


http://bugs.horde.org/show_bug.cgi?id=999

*** shadow/999	Tue Jul 23 08:53:47 2002
--- shadow/999.tmp.31237	Tue Jul 23 08:53:47 2002
***************
*** 0 ****
--- 1,53 ----
+ Bug#: 999
+ Product: Horde
+ Version: 2.2 Stable
+ Platform: All Browsers
+ OS/Version: Linux
+ Status: NEW   
+ Resolution: 
+ Severity: normal
+ Priority: P2
+ Component: Core
+ Area: BUILD
+ AssignedTo: chuck@horde.org                            
+ ReportedBy: martin@otrs.org               
+ URL: 
+ Cc: chuck@horde.org
+ Summary: Send emails with .\n incorrectly!
+ 
+ Hi,
+ 
+ if horde or imp is sending an email like this as Body:
+ 
+ [...]
+ .
+ ..
+ ...
+ ....
+ .....
+ ......
+ 
+ http://hosted.enhanced-design.de/ebay_rox/atomuboot.html
+ 
+ Gruß
+ Jo
+ [...]
+ 
+ Standard config 
+ "$conf['mailer']['type'] = 'sendmail';" && 
+ "$conf['mailer']['params'] = array();".
+ 
+ The email will arrive the recipients just till the first .\n. 
+ Because sendmail stops the message body on the first .\n.
+ 
+ The rigth way to use sendmail is with param "-i". Like 
+ "$conf['mailer']['params'] = array('sendmail_args' => ' -i ');".
+ 
+ IMO it would be better to set this as default param in PEAR-Mail/sendmail.php!
+ 
+ I added Chuck to cc because he is the maintainer of PEAR-Mail/sendmail.php.
+ 
+ Thanks.
+ 
+ Martin
+