This action is called after each Car Demon contact form has been sent.
do_action(‘cd_mail_complete’, $type, $to, $subject, $email_body, $headers, $from, $post_id, $send_to_name);
$type – The form that was submitted: contact_us, finance, parts, qualify, service_appointment, trade_form, contact_us_vehicle, email_a_friend
$to – The email address the form was sent to.
$subject – The subject of the email.
$email_body – The body of the email message.
$headers – The headers for the email.
$from – The email address it was sent from.
$post_id – The vehicle’s post id, if provided.
$send_to_name – The name of the person the email was sent to.
No code sample at this time