developer documentation r22134

Email Media

Media email

/action/v2/emailmedia

Email a link to the media page to a friend. Can add a personal message to the standard email text.

Requires a form token

Supports redirectUrl param of fm:Form component

All optional params can be set as required.

Example

<fm:Form action="/action/v2/mediaemail" method="post"> <fm:Form_Custom><input type="text" name="name_from" /></fm:Form_Custom> <fm:Form_Email name="email_from" /> <fm:Form_Custom><input type="text" name="name_to" /></fm:Form_Custom> <fm:Form_Email name="email_to" /> <fm:Form_Custom><input type="text" name="message" /></fm:Form_Custom> <fm:Form_Custom><button type="submit">Send email</button></fm:Form_Custom> </fm:Form>

Supported params

Name Required Description
email_from Required Email of the person sending a link . Must be a valid email. Limited to 100 chars.
email_to Required Email of the person to send the media page link to. Must be a valid email. Limited to 100 chars.
name_from Required Name of the person sending a link. Must be a valid email. Limited to 100 chars.
name_to Required Name of the person to send the media page link to. Must be a valid email. Limited to 100 chars.
message Personal message to include in the email. Text, limited to 65000 chars.
<< 7.5.15 Add anonymous comment 7.5.17 Rate file >>