Thanks Steve,
The client selection is better than I had hoped for and gives users their own control.
Does anyone know anything about fixing the line-breaks? I see lots of bugs and reports about sending as text, but this is sending as HTML and receiving as Text-only in a low-end mail client like Outlook Express. When I send from other clients I've tried, I get the line breaks, but when sending from Sugar I don't.
I dug around in ./modules/Emails/Compose.php and ./modules/Emails/Email.php and I was able to modify the body of the received message, but haven't figured out what is causing the line-breaks to get stripped yet.
Specifically, I tried adding lines like below to Email.php to add line breaks:
PHP Code:
$body = str_replace("/p>","/p>\n",$body);
PHP Code:
$body = str_replace("<p>","<div><p>",$body);
$body = str_replace("</p>","</p></div>\n",$body);
PHP Code:
$body = str_replace("/p>","/p><br />\n",$body);
All of these changed the html source received as intended, but did not eliminate the behavior of stripping the line breaks.
Any ideas appreciated.
Phil
Bookmarks