Start a new topic

Add 'sendmail' api method

Purpose: to send emails to customers/administrators from 3rd-party addons;

Use-case: for example, we have 'Price drop alert' addon, which send email notification to customers and administrators info about price drop of selected product and about new subscriber. It is oddly for customers to receive email about product in store "Simtech" with domain "simtech.com" fom email address "mail@domain.com", so they could mark it as a spam, and emails from developers will be blocked.

Ideas for parameters:

 

$params = array(
    'to' => 'customer@email.com',
    'from' => 'company_orders_department',
    'body' => 'rendered html/plain text content',
    'subj' => 'rendered subject text'
);

 


Login or Signup to post a comment