Jump to content

Mail:send() Fuction without template file...


Nishith Nesdiya

Recommended Posts

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 by Nishith Nesdiya (see edit history)
  • Like 1
Link to comment
Share on other sites

  • 11 months later...
  • 2 years later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...