Can I use the plugin in my templates
Yes, you can! Just put this code on your template file:
<?php if (function_exists('wpHardMailer')) wpHardMailer('name of template'); ?>
How can I change the recivers on wpHardMailer function
Send an params (array or string) to the funcion.
<?php wpHardMailer(array('name'=>'template name', 'mail'=>'Mike|mike@visie.com.br')) ?>
or
<?php wpHardMailer(array('name'=>'template name', 'mail'=>'Mike|mike@visie.com.br')) ?>
Can I use the same form on deiferent areas changing only the reciver?
Yes, you can! on you shortcode put the mail arg.
[wphm name=”simple mail” mail=”example@test.org”]
TinyMCE Hacking
The editor TinyMCE removes no real tags when you change from html view to visual view. So, if you pass the mail argument like this.
Mike <mike@visie.com.br>
The tinyMCE remover the reciver mail. So, you have to pass the name and mail separated whit pipe | character. Like this.
Mike | mike@visie.com.br
How can I send o multiple recivers?
Just separe all mail by ; character.
Mike | mike@visie.com.br ; Julio | julio@visie.com.br