Hamendra Sunthwal Posted August 18, 2020 Share Posted August 18, 2020 (edited) Need sample email code to send email from module file i have already used below code but its not working Mail::Send( (int) 1, 'in_transit', 'Module Installation', array( '{email}' => 'ok',//Configuration::get('PS_SHOP_EMAIL'), // sender email address '{message}' => 'ok' // email content ), '[email protected]', 'hm'.' '.'hm', null, null, null, null, _PS_MAIL_DIR_, null, null ); Any thoughts what is missing in the above code ? Edited August 18, 2020 by Hamendra Sunthwal (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now