Support » Plugin: TD Ticket System » php mail function

  • Hi, I had a problem with the email headers not properly with qmail. I was able to fix this by changing all instances of the php mail() function to the wordpress wp_mail() function. This is a very easy fix, simply add wp_ to the front of all mail functions.

    eg change
    mail($to, $subject, $theMessage ,$headers);
    to
    wp_mail($to, $subject, $theMessage ,$headers);

    cheers

    John

    https://wordpress.org/plugins/td-ticket-system/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author transcendev

    (@transcendev)

    Thanks for sharing that. I should’ve known WordPress provided an email wrapper function. I’ll switch it to that by default in a future update.

    Where to change?
    I have installed plugin and from front end, I am able to create tickets which are being shown in backend. Unfortunately I am not getting any ticket ID or message ID. So I end users are not able to login again to check the status of tickets.

    Within my site, mail functionality is not working.

    Please provide your suggestions.

    I have the same issue, I am not geting a ticket ID or message ID. None of the mail functionality is working.
    Please help! :/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘php mail function’ is closed to new replies.