Has anyone improved Email Compose to include email address in the To/Cc?

When composing an email in the Emails module (Professional) and typing in a name or email address I would like to see the Name AND email address that will be used in the dropdown. Right now there is no way to verify the address you are sending before hitting send. 

Has anyone done that?

Thanks.

Francesca

Parents
  • Hi

    You would need to create a custom plugin based on EmailParticipants one (include/javascript/sugar7/plugins/EmailParticipants.js), this plugin is loaded by BaseEmailsEmailRecipientsField (modules/Emails/clients/base/fields/email-recipients/email-recipients.js).

    Inside that Plugin, within "callbacks.success", it create an EmailParticipants bean (modules/EmailParticipants/) but it only defines the parent (parent_type, parent_id and parent_name), fully ignoring the target email_address. So you probably have to override such a function in order to include the target email_address.

    Good luck!

    André Lopes
    Lampada Global
    Skype: andre.lampada
Reply
  • Hi

    You would need to create a custom plugin based on EmailParticipants one (include/javascript/sugar7/plugins/EmailParticipants.js), this plugin is loaded by BaseEmailsEmailRecipientsField (modules/Emails/clients/base/fields/email-recipients/email-recipients.js).

    Inside that Plugin, within "callbacks.success", it create an EmailParticipants bean (modules/EmailParticipants/) but it only defines the parent (parent_type, parent_id and parent_name), fully ignoring the target email_address. So you probably have to override such a function in order to include the target email_address.

    Good luck!

    André Lopes
    Lampada Global
    Skype: andre.lampada
Children