Nishith Nesdiya Posted September 30, 2013 Share Posted September 30, 2013 (edited) hello friends... i am using the Mail::send() Function in my custom modules.. can possible use the Mail:: Send fuction is without mail template file ? when i using the this function like as if(!Mail::Send((int)$this->context->language->id,NULL, Mail::l($subject, (int)$this->context->language->id), NULL,$to, Configuration::get('PS_SHOP_NAME'),$from_mail, NULL,NULL,NULL,NULL)) but its display the invalid e mail template file how to use the mail fuctions? Edited September 30, 2013 by Nishith Nesdiya (see edit history) 1 Link to comment Share on other sites More sharing options...
vekia Posted September 30, 2013 Share Posted September 30, 2013 Mail function from prestashop core needs template file to send an email. The only way is usage of php mail() function - it is a simple mail funciton and you don't have to use there template file Link to comment Share on other sites More sharing options...
Nishith Nesdiya Posted September 30, 2013 Author Share Posted September 30, 2013 (edited) thanks vikia.. one problems is that how to send the particular product page link when the email is send Edited September 30, 2013 by Nishith Nesdiya (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted September 30, 2013 Share Posted September 30, 2013 everything depends on what... mail method you want to use. without template? or with? Link to comment Share on other sites More sharing options...
linelsedillo Posted September 26, 2014 Share Posted September 26, 2014 where the mail::Send function get the template? i'm trying to make my own mail send template but i don't know the code that calling themplate Link to comment Share on other sites More sharing options...
hakeryk2 Posted December 6, 2016 Share Posted December 6, 2016 I just gave up and I used regular PHP Sendmail class. http://stackoverflow.com/questions/5335273/how-to-send-an-email-using-php 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