You need to sign in to do that
Don't have an account?
Email alert java script error
Hi ,
I have a button in case object called "Email to customer" which will automatically send an email to all customers , but i am having issues that emails are not getting delivered appropriatrely, Below is my java script,
{!REQUIRESCRIPT("/soap/ajax/25.0/connection.js")}
{!REQUIRESCRIPT("/soap/ajax/25.0/apex.js")}
{!REQUIRESCRIPT("/support/console/26.0/integration.js")}
var url = '/_ui/core/email/author/EmailAuthor?p2_lkid={!Case.ContactId}&p2={!Case.Contact}&rtype={!$ObjectType.Contact}&p3_lkid={!Case.Id}&&p3={!Case.CaseNumber}&retURL=%2F{!Case.Id}&p26=customercare.test@wisdompanel.com&template_id=00Xe0000000IIvA&p6=';
if(sforce.console.isInConsole() == true) { //create a sub tab when accessing the case from console
//First find the ID of the primary tab to put the new subtab in
sforce.console.getEnclosingPrimaryTabId(openSubtab);
}
else
window.open(url); // redirect to the send email screen
function openSubtab(result) {
sforce.console.openSubtab(result.id,url,true);
}
Please help me on this regard.
Thanks in Advance
Hi Mark,
Did you happen to check the email logs to see if the email was recorded there and there was a delivery issue -
(From Setup, click Monitoring | Email Log Files or Logs | Email Log Files)
or are we saying the email was never sent from the system?