Hi @123host,
Currently achieved the result by modifying class.mail.php. Receiving the thank you email but its in spam. So if you can do better to add SMTP details so that it directly goes to the inbox.
Here is the modification,
$subject1 = “Thank you for your action”;
$message1 = ‘Your Message to the sender’;
$headers1 = “From: ABC Organization <[email protected]>\r\n”;
$headers1 .= “Reply-To: [email protected]\r\n”;
$headers1 .= “MIME-Version: 1.0\r\n”;
$headers1 .= “Content-Type: text/html; charset=UTF-8\n”;
$headers1 .= “Content-Transfer-Encoding: 8bit\n\n”;
// send the petition email
self::send( $petition->target_email, $subject, $email_message, $headers );
self::send( $signature->email, $subject1, $message1, $headers1 );
}
Hope you will tweak it for the better one.