Mail Wont Send Via Profiles !!! Please help

Hello for some reason members are not able to send emails and I can see these page errors!!!

I have not long change template and Im not sure what the problem is ???   Please help me fix it!!    The errors are below:-


Message: Object doesn't support this property or method
Line: 2459
Char: 3
Code: 0
URI: http://www.socialmunch.com/mail.php?mode=compose&recipient_id=489


Message: 'tinyMCE' is undefined
Line: 216
Char: 4
Code: 0
URI: http://www.socialmunch.com/inc/js/mail_box.js

 

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 25 Feb 2011

Please specify you version of dolphin?

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 25 Feb 2011

hello I have  7.0.5

My members could send mail and now cannot !!   I dont really understand it at all !!!

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 25 Feb 2011

ANY IDEAS ABOUT THIS PLEASE ???

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 25 Feb 2011

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 + '&copy_message=true';

}

 

if ( $('#' + htmlSelectors[3]).attr('checked') ) {

sPageUrl = sPageUrl + '&copy_message_to_me=true';

}

 

if ( $('#' + htmlSelectors[4] ).attr('checked') ) {

sPageUrl = sPageUrl + '&notify=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);

}

}

}

Jeremy
Quote · 25 Feb 2011

hello, from  line 216 or 213 ???

I tried adding the code from both lines and its now made a difference!!

I switched back to UNI template and mail will not send from that either !!!!

Please help :)

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 25 Feb 2011

Are you saying that once you pasted that code in there that it worked with the template you were using? But it wont work in template uni?

Jeremy
Quote · 25 Feb 2011

No its now working with either UNI or template for current site !!!

I installed a test site on same server and the mail is working fine .........................

I do not understand this! I even copied mail_box.js  and mail.php files from working test site to my current one and its still failing to send  mail

Regards

 

 

DedicatedServer4You.com -- BIGGEST Range of Dedicated Servers at the Lowest Price!
Quote · 25 Feb 2011

Hey Detective08,

I have same problem with compose email section. i can see you have solved this on your website.

Can you please let me know how did you solved this problem. 

Thanks in advanse 

Quote · 29 Jan 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.