TableOfContents

Letterman

In /...istrator/components/com_letterman/letterman.xml, add to the parameters:

                <param name="mail_from" type="text" default="" label="Mail from:" />
                <param name="reply_to" type="text" default="" label="Reply to:" />

In /...mponents/com_letterman/admin.letterman.html.php, from line 305 to 312:

                        <tr>
                                <td style="text-align:right;"><strong><?php echo LM_MAIL_FROM ?>:</strong></td>
                                <td><input class="inputbox" type="text" name="mailfrom" size="25" value="<?php echo $admin_email; ?>" style="width:200px" /></td>
                        </tr>
                        <tr>
                                <td style="text-align:right;"><strong><?php echo LM_REPLY_TO ?>:</strong></td>
                                <td><input class="inputbox" type="text" name="replyto" size="25" value="<?php echo $admin_email; ?>" style="width:200px" /></td>
                        </tr>

change to:

                        <tr>
                                <td style="text-align:right;"><strong><?php echo LM_MAIL_FROM ?>:</strong></td>
                                <td><input class="inputbox" type="text" name="mailfrom" size="25" value="<?php echo $lm_params->get( 'mail_from', $admin_email ); ?>" style="width:200px" /></td>
                        </tr>
                        <tr>
                                <td style="text-align:right;"><strong><?php echo LM_REPLY_TO ?>:</strong></td>
                                <td><input class="inputbox" type="text" name="replyto" size="25" value="<?php echo $lm_params->get( 'reply_to', $admin_email );; ?>" style="width:200px" /></td>
                        </tr>

IN /components/com_letterman/letterman.html.php aournd line 265-272, do the same.

Relative URL

Using WYSIWYG editor (tinyMCE), the urls refering to the local documents are cut into relative url. It is no problem on the web, but when sent as an email, these urls do not refer correctly to the web site. solution:

file: components/com_letterman/letterman.php, after line 620 add:

<base href=\"$mosConfig_live_site\">

file: administrator / components / com_letterman / admin.letterman.php, after line 451, add the same.

exclamation mark in emails

Problem: when use phpmail or sendmailfor letterman to deliver mails, The issue is that actually most of these add a ! in the message evan do this is not in the actual message that is written.

Check out: [http://www.experts-exchange.com/Networking/Email_Groupware/Sendmail/Q_21618003.html experts-exchange], it has something to do with sendmail.

file: components/com_letterman/letterman.php, around line 630, before or after the line

$html_message = str_replace( "../../..", $mosConfig_live_site, $html_message );

insert:

$html_message= wordwrap($html_message, 72);

file: administrator / components / com_letterman / admin.letterman.php, around line 462, before or after the line

$html_message = str_replace( "../../..", $mosConfig_live_site, $html_message );

insert:

$html_message= wordwrap($html_message, 72);