Description
Allow to send mail from article layout. For instance, you may create “Contact us” page using this field plugin.

 

Parameters
 

Parameter

Value

Descriptions

Allow User enter subject

Dropdown

Allow users to enter subject.

Predefined subject values

Text

Set list of predefined subjects divided by new line. You need enter predefined subjects only if “Allow User enter subject” is set to “Predefined values” position.

Default Subject if empty

Text

Set default subject value in case of sender leaves subject empty.

Fields Size

Text

Define subject field size.

Send to

Dropdown

Define receiver, i.e. the person who gets mails from the from. Here are 5 positions:
Email field in the record – mail field plugin takes email from email field plugin of the record.
Administrator – mails will be sent to super administrator (user_id = 62).
Record owner – mails will be sent to record author.
User Enter Email – allow record  author to enter receiver email.
Custom – see “Custom e-mail” parameter.

Custom e-mail

Text

Define receiver email, set it only if parameter “Send to” is set to “Custom” position.

Message Type

Radio Button

Define message type:
E-mail – send message to receiver email only.
Mighty Message – send message to receiver PM.
Both – send message to both PM and email.

Analytics Log

Yes/No

Set “Yes” to save only predefined subjects to DB for analytics.

Show receiver email

Yes/No

Show/Hide receiver email in the mail form.

Sender name field

Yes/No

Show/Hide sender name field in the mail form.

Sender email field

Yes/No

Show/Hide sender email field in the mail form.

Show Body

Yes/No

Show/Hide message body field in the mail form.

Default body if not show

Text

Define default mail body texts if “Show Body” parameter is set to “No”.

Show CC field

Yes/No

Show/Hide CC field in the mail form.

Show attachment field

Yes/No

Show/Hide attachment field in the mail form.

Attachment formats

Text

Define available files formats to be attached to the message.

Button label

Text

Set confirm mail form button label.

 —————————————————————————————-

Allow send copy to sender        

Yes/No

Show/Hide field “Send copy to sender”.

 —————————————————————————————-

Use Popup Window

Yes/No

Display mail form in pop up window. Set “No” to display mail form on the same page.

Window width

Text

Set pop up window width.

Window height

Text

Set pop up window height.

Window skin

Dropdown

Set pop up window skin.

PopUp label

Text

Set pop up window link label.

 —————————————————————————————-

Show captcha

Yes/No

Show/Hide captcha in mail form.

Show captcha to

Radio Button

Choose “Only non-logged in users” to display captcha for public users only.

Access level (submit)

Dropdown

Set access level for record author’s to have ability to disable mail form for their records. If record’s author has access level less than defined here then mail field form is displayed in the record. Record author should has enough rights to disable mail form in his/her record.

 —————————————————————————————-

Show additional fields

Yes/No

Show/Hide additional fields in mail field form.

Additional fields schema

Text

Set additional fields scheme by mask (in one line without any breakes):
type:name:label:option:property;
where Type – is type of additional  field text, textarea, checkbox, radio or select;
Name – name attribute of additional field;
Label – label attribute of additional field;
Option – use only with checkbox,radio and select types, it is a string with values divided by ‘|’ vertical line symbol.

You need know html tag input to understand this parameter.

Mail field