Title: arulpertly's Replies | WordPress.org

---

# arulpertly

  [  ](https://wordpress.org/support/users/arulpertly/)

 *   [Profile](https://wordpress.org/support/users/arulpertly/)
 *   [Topics Started](https://wordpress.org/support/users/arulpertly/topics/)
 *   [Replies Created](https://wordpress.org/support/users/arulpertly/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/arulpertly/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/arulpertly/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/arulpertly/engagements/)
 *   [Favorites](https://wordpress.org/support/users/arulpertly/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [3.6.1 is NOT working with emailing (class-phpmailer.php)](https://wordpress.org/support/topic/361-is-not-working-with-emailing-class-phpmailerphp/)
 *  [arulpertly](https://wordpress.org/support/users/arulpertly/)
 * (@arulpertly)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/361-is-not-working-with-emailing-class-phpmailerphp/page/2/#post-4131445)
 * It’s working for mine at version 3.6 and 3.6.1 also…! Check the following code
 *  $mail = new PHPMailer();
    $mail->IsSendmail(); // telling the class to use SendMail
   transport
 *  $body = $messagehtml;
    $body = eregi_replace(“[\]”,”,$body);
 *  $mail->SetFrom($from, $current_user->user_firstname .” “.$current_user->user_lastname);
   
   $mail->AddReplyTo($from, $current_user->user_firstname .” “.$current_user->user_lastname);
 *  $address = $to;
    $mail->AddAddress($address, “”);
 *  $mail->Subject = $subject;
    $mail->MsgHTML($body);
 *  return $mail->Send();

Viewing 1 replies (of 1 total)