CMSMailer

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked

Using cmsmailer

using cmsmailer
0
No votes
coding cmsmailer
1
100%
 
Total votes: 1

mrs_smith

CMSMailer

Post by mrs_smith »

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 !
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: CMSMailer

Post by calguy1000 »

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.
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.
Locked

Return to “Modules/Add-Ons”