• Resolved Fabbstar

    (@fabbstar)


    Hi there,

    I hope you are well?

    File uploads are sent to the admin as attachments but can be configured to display as links in the notification email sent to the end user.

    Is there a way we can make the admin email not receive the files as attachments? Our users will be uploading quite large files and it will break our email system if they are sent through as attachments.

    Many thanks,
    S

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @fabbstar,

    For sending the link for the uploaded files to the users in the notification emails you should include in the email content the special tag:

    <%fieldname1_url%>

    Supposing that the fieldname1 is an “Upload File” field.

    If you don’t want send the uploaded files as attachments, would be required edit the plugin’s code, at least in the current version of the plugin. Please, follows the steps below:

    – Open the “/wp-content/plugins/calculated-fields-form/cp_calculatedfieldsf.php” file with the text editor of your choice.

    – Go to the piece of code:

    return array( 'message' => $message, 'attachments' => $attachments );

    and edit it as follows:

    return array( 'message' => $message, 'attachments' => array() );

    and that’s all.
    Best regards.

Viewing 1 replies (of 1 total)

The topic ‘Attachments on Email Notification’ is closed to new replies.