Title: Cannot redeclare class phpmailerException
Last modified: August 22, 2016

---

# Cannot redeclare class phpmailerException

 *  [Teflaro](https://wordpress.org/support/users/teflaro/)
 * (@teflaro)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/cannot-redeclare-class-phpmailerexception/)
 * Hello,
    I have a problem to sending a message, after clicking send the message
   that line of code appears. Fatal error: Cannot redeclare class phpmailerException
   in /home/dddsrt/public_html/wp-includes/class-phpmailer.php on line 3265.
 * I looked in the phpmailer and at the line 3265 there to
 *  {
    $errorMsg = ‘**‘ . $this->getMessage() . “**\n”; return $errorMsg; } }
 * The last parathesis is the line 3265
 * I also tried the plugin WP Mail Bank and the same message appear.
 * I do not know what to do to solve the problem
 * Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Teflaro](https://wordpress.org/support/users/teflaro/)
 * (@teflaro)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/cannot-redeclare-class-phpmailerexception/#post-5457757)
 * No idea?
 *  [youwolf](https://wordpress.org/support/users/youwolf/)
 * (@youwolf)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/cannot-redeclare-class-phpmailerexception/#post-5457934)
 * i have the same problem, some have no idea to Solve ?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Cannot redeclare class phpmailerException’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [youwolf](https://wordpress.org/support/users/youwolf/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/cannot-redeclare-class-phpmailerexception/#post-5457934)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
