• I have the code below set up to notify users of updates to their posts. I want the emails to come from the Admin email in my settings (email@yourdomain.com), but instead it’s coming from username@boxXXX.bluehost.com.

    How should I edit the code?

    $headers .= 'From: '.get_bloginfo('name').' <'.get_bloginfo('admin_email').'>';
    mail(get_bloginfo('admin_email'), 'Support Ticket Updated', 'A support ticket has been updated entitled "'.$TicketDetails->ticket_title.'". You can view the support ticket here: <a>ticket_url.'/">'.get_bloginfo('wpurl').'/'.$FSTPages['TicketsURL'].'/'.$TicketDetails->ticket_url.'/</a>', $headers);
  • The topic ‘Email from domain not boxXXX.bluehost’ is closed to new replies.