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 !
Help me about using CMSMailer
Re: Help me about using CMSMailer
From the module help: it is designed to be integrated into other modules to provide email capabilities. Thats it, nothing more.
Your questions are not very clear, but the code presented is an example of how developers could use the CMSMailer module from another module. Hope that helps.
Your questions are not very clear, but the code presented is an example of how developers could use the CMSMailer module from another module. Hope that helps.