Go into your dolphin folder into inc/js/mail_box.js file and make a copy of that file. Now...edit the file and go to line 213....paste the following code starting at line 213 and save the file....clear your cache and test.
this.sendMessage = function(vRecipientId)
{
// create link on TinyMCE object ;
var ed = tinyMCE.get(htmlSelectors[0]);
// collect the `post` data ;
var sComposeMessage = $.trim(ed.getContent());
var sComposeSubject = $.trim($('#' + htmlSelectors[1]).attr('value'));
var sRecipientNick = $.trim($('#' + htmlSelectors[8]).attr('value'));
// if vRecipientId 'undefined' than will try to find his nickname ;
if (typeof vRecipientId == 'undefined' )
{
var oNickName = $('#' + htmlSelectors[8]);
if (oNickName.length)
vRecipientId = $.trim( oNickName.attr('value') );
}
// collect the all needed parameters ;
var sPageUrl = this.sPageReceiver + '&action=compose_mail&recipient_id='
+ vRecipientId;
// if data are correct ;
if ( sComposeSubject && sComposeMessage && vRecipientId )
{
// collect the additional parameters ;
if ( $('#' + htmlSelectors[2]).attr('checked') ) {
sPageUrl = sPageUrl + '©_message=true';
}
if ( $('#' + htmlSelectors[3]).attr('checked') ) {
sPageUrl = sPageUrl + '©_message_to_me=true';
}
if ( $('#' + htmlSelectors[4] ).attr('checked') ) {
sPageUrl = sPageUrl + '¬ify=true';
}
// send data ;
$.post(sPageUrl, { 'subject' : sComposeSubject, 'message' : sComposeMessage }, function(sReceivedData){
$("#" + htmlSelectors[7]).html(sReceivedData);
//set active the reply button
var el = $('#' + htmlSelectors[6]);
if (el.length)
{
el.attr('disabled', '');
}
})
}
else
{
alert(this.sErrorMessage);
}
}
}