Hello,
I have been trying to use an external client to send emails. On the contacts list view screen the user should be able to select multiple check boxes and hit the email button up top. This should open up an outlook window with the selected users names in the TO field. Unfortunately all that happens is it opens a blank email.
I did some poking around with firebug and have found the problem seems to stem from the include/javascript/sugar_grp1.js file. When the email button is pressed it calls the sugarListView.prototype.use_external_mail_client function.
Currently this function is
As you can see the mailto: is hard coded to be blank. I am trying to have a way to fill this field with the appropriate information. Does anyone have any tips on how to pull the email information from the checked fields, and append them to the link?Code:sugarListView.prototype.use_external_mail_client=function(no_record_txt){selected_records=sugarListView.get_checks_count();if(selected_records<1){alert(no_record_txt);}else{location.href='mailto:';} return false;}
Thank you


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks