after study about cms in cms made simple. I read paper help in cmsmailer of malquy1000@hootmail.com. But I do not use it
I do not know this code:
$cmsmailer = $this->GetModuleInstance('CMSMailer');
$cmsmailer->AddAddress('calguy1000@hotmail.com','calguy');
$cmsmailer->SetBody('This is a test message');
$cmsmailer->IsHTML(true);
$cmsmailer->SetSubject('Test message');
$cmsmailer->Send();
what is this code?
how it is using?
diffrenced modules using very goog, but modules about cmsmailer is not know
do I used all function of API ?
I hope will recived your help
thanks !
CMSMailer
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: CMSMailer
CMSMailer is simply a wrapper around phpmailer. it's designed to allow other modules to have advanced mailing capabilities.
It does not provide any frontend to the user, and has a small admin panel for configuration purposes.
it is part of the 1.0 core package as many modules now use it to send emails.
It does not provide any frontend to the user, and has a small admin panel for configuration purposes.
it is part of the 1.0 core package as many modules now use it to send emails.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.