Skip to content

Commit

Permalink
Fix: Contact listing owner email reply to issue (#1712)
Browse files Browse the repository at this point in the history
  • Loading branch information
MahfuzulAlam authored Apr 1, 2024
1 parent 91cf59c commit d0955f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/classes/class-ajax-handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -1316,7 +1316,7 @@ function atbdp_email_listing_owner_listing_contact() {
$subject = strtr( $contact_email_subject, $placeholders );
$message = strtr( $contact_email_body, $placeholders );
$message = nl2br( $message );
$headers = ATBDP()->email->get_email_headers();
$headers = ATBDP()->email->get_email_headers( [ 'name' => $name, 'email' => $email ] );
$message = atbdp_email_html( $subject, $message );
// return true or false, based on the result
$is_sent = ATBDP()->email->send_mail( $to, $subject, $message, $headers ) ? true : false;
Expand Down

0 comments on commit d0955f4

Please sign in to comment.