This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

[closed] email format


  1. icadmin
    Member

    How could we format the email sent by MachForm?

    Posted 17 years ago #
  2. yuniar

    If you just need to customize the mail subject and/or sender email address, you can modify your config.php file. You'll find few settings there for this purpose.

    However, if you need to modify the content of the email, edit your includes/helper-functions.php file. The code to set the email content is placed around line 411 - 418.

    //prepare HTML body for email
    $email_body = '';
    $i=1;
    foreach ($email_data as $data){
    	$email_body .= "{$i}) <b>{$data['label']}</b> {$data['value']} ";
    	$i++;
    }


    All you need to do is to customize the value of $email_body.
    Is this what you need?

    Let me know if you need any help.


    MachForm Founder

    Posted 17 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.