這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Wp Hard Mailer

描述

Create two textareas, one for create a form template and other for a mail template.

The first one can be included on any page(s)/post(s)/sidebar. The advantage of this methos is have all control on your form. PHP tags will be scaped.

The second textarea determines a template mail that the form. On the template you can use [names] to put your content anywhere.

Sample:

This email was send by [name]

---

[message]

螢幕截圖

  • List of templates. See, your short tag is generated, you just need to Ctrl+c and Ctrl+v on yor post/tag.

  • Edit your form template.

  • Put your template form on your post.

  • You can change the reciver mail, passing the mail algument.

  • You can put the form on your templates, using the simple wpHardMailer function.

安裝

Upload the Wp Hard Mailer plugin to your blog, Activate it. Access the config settings.

1, 2, 3: You’re done!

常見問題

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

評價

There are no reviews for this plugin.

貢獻者及開發者

“Wp Hard Mailer” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Wp Hard Mailer 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄