In Freedom UI we have the possibility to setup the message composer to set a default sender : 

  • Use default mailbox
  • Use case source mailbox

The system is not generating the field from when composing a new email. Is this feature available ?

 

 

 

Anyone got this working ?

Like 1

Like

5 comments

Hi Frank!

The "From" field will be filled depending on the "Default sender" selected by you when replying to an email in the Conversation tab.


 However, if you are writing the first email in the thread without replying to the previous one, the "From" field will not be automatically filled if you have selected "Use case source mailbox". Instead, it will be filled with the value of the "Default mailbox" if this option has been selected.

I hope I have answered your questions!

Pavlo Sokil,

 

Is it possible to filter or include custom functionality  to  the From and To  fields in any way possible ?  

The "form" field should be default equal to the contact that open the request 

and the "To" field"  need to be filtered by another setting related to the request dat

 

Regards

Rakshith Dheer

Rakshith Dheer Reddy,

 

can you please clarify if it's needed in Freedom UI or Classic UI?

Rakshith Dheer Reddy,

 

and what if the contact that opens the page doesn't have an email address? 

Rakshith Dheer Reddy,

For "To" field we can select multiple emails (even custom email, not from dropdown). So it will be enough to set attribute "{name}_To" attribute within crt.HandleViewModelInitRequest hook. An example you can find here:

With "From" field the situation is a bit harder because there are some box logic behind that. But for that case we have input property "defaultSenderRequest" that identifies request for getting default From. You can override it behavior and return default sender that you need. Example:

export class CustomDefaultSenderComposerHandler extends BaseRequestHandler {
   public async handle(request: DefaultSenderComposerRequest): Promise<string> {
       //some custom implementation
       return ''some_custom_mailbox@email.com";
   }
}
Show all comments