How to know the value of 'email_config' to be used in "/Mail POST" API

Hi Experts,

Need your help in understanding how to get the value of 'email_config' input parameter which is mandatory in "/Mail POST" API.

http://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_7.7/Integration/Web_Services/v10/Endpoin… 

We couldn't find a way to get the value of 'email_config'.

Thanks,

Venkat

Parents Reply
  • Hi Venkat,

    You can check email_config IDs for your system from `outbound_email` table in your DB.

    SELECT * FROM `outbound_email` where `name` = 'system' AND (`type` = 'system-override' OR `type` = 'system')

    By running following SQL above you can reach these records. You would need to use `id` fields of them. 

    This way you would be able to send and create the records.

    Hope this helps. 

    Best Regards
    Tevfik Tümer
    Developer Support Engineer

Children
No Data