• N.Ahmed
  • NEWBIE
  • 10 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 2
    Replies
Mass Email working on admin user profile but not sending emails on any other user profile. even object permission and all visual force permission is set. failedrecipients.csv with status = SERVER_UNAVAILABLE and error = null any idea?

iam having the following issue in dynamic binding of event for commandLink object and getting the above error.

the google search does not return any result on this, please help!. Thanks.

 

 

Code:

 

public Component.Apex.OutputPanel getCreateDynamicLinkButton(){

Component.Apex.OutputPanel dynOutPanel= new Component.Apex.OutputPanel();

Component.Apex.commandLink cmd = new Component.Apex.commandLink();

ApexPages.Action cEvent = new ApexPages.Action('{!clickMe}');
cmd.action = cEvent ;
cmd.value = 'Click Me';

return dynOutPanel;

}

public void clickMe(){

}

 

iam having the following issue in dynamic binding of event for commandLink object and getting the above error.

the google search does not return any result on this, please help!. Thanks.

 

 

Code:

 

public Component.Apex.OutputPanel getCreateDynamicLinkButton(){

Component.Apex.OutputPanel dynOutPanel= new Component.Apex.OutputPanel();

Component.Apex.commandLink cmd = new Component.Apex.commandLink();

ApexPages.Action cEvent = new ApexPages.Action('{!clickMe}');
cmd.action = cEvent ;
cmd.value = 'Click Me';

return dynOutPanel;

}

public void clickMe(){

}

 

The Apex documentation says that "This argument is allowed only when a template is not used." However, I am able to use that field with an email template.

 

Does anyone know if this is correct behaviour and the docs are wrong, or is this a bug that I shouldn't rely on?

 

--Greg