Abaixo está um exemplo de como configurar manualmente, insira estas informações em modules/options.json
É possivel adicionar nos options.json dos modulos
"simplecontact": { "widgets": { "form": { "formlpbanner": { "comments": "Form of page contact", "destination": "email_destination@domain.com", "from": "email_sender@domain.com", "subject": "New Contact", "bcc": "", "phpmailer": "false", "host": "", "username": "", "password": "", "secure": "", "port": "", "charset": "", "contenttype": "", "include": "", "message": "", "sendto": [ { "name": "name_to_identificate_the_destination", "from": "email_of_sender", "email": "email_of_destination", "subject": "", "message": "body_of_message" }, { "name": "name_to_identificate_the_destination", "from": "email_of_sender", "email": "email_of_destination", "subject": "", "message": "body_of_message" } ], "onsend": "alert('success')", } } } }
comments: | Name of form or any commentary | string |
destination: | Email of destination | string |
from: | Email of sender | string |
subject: | Subject of email | string |
bcc: | email to send a hidden copy | string |
phpmailer: |
mode send mail true = use authenticate method false = use function mail() of server |
true or false |
host: | Address of server | string |
username: | user name registered on the server | string |
password: | password of user name registered on the server | string |
secure: | method send email | ssl or tls |
port: | default | 465 or 587 |
charset: | character encoding | utf-8 or iso-8859-1 |
contenttype: | type format of content | text/plain or text/html |
include: | html content tags input to include on form, not overwrite the form | string |
content: | html content tags input to overwrite form | string |
message: | content message of email | string |
sendto: | senders to receiver response on submit form | array json |
onsend: | action to execute after submit form | code javascript |
mailmsgsuccess: | message to show on submit success form | string |
mailmsgsuccess: | message to show on submit error form | string |
insert code similary to [name:name,attr:val] in message
[attribute_name_of_input:value_attribute_name,type_attribute:type_val]
<input name="email" value="email@domain.com">
attribute_name_of_input = | name |
value_attribute_name = | |
type_attribute = | attr |
type_val = | val or text |
[app:title] | Title of your application |