Title: Problems with wp_mail() function
Last modified: August 19, 2016

---

# Problems with wp_mail() function

 *  Resolved [risoknop](https://wordpress.org/support/users/risoknop/)
 * (@risoknop)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/problems-with-wp_mail-function/)
 * Hello,
 * I’m using Dekoboko plugin to create contact form at my blog. The form works perfectly(
   including recaptcha etc) – the only problem is that when I fill in all information
   and press submit, I get this error:
 * >  Could not open socket
 * I’ve taken a look into DekoBoko plugin file and I found out that it is using 
   wp_mail() function to send the email instead of ordinary php mail(). I’ve also
   tried replacing wp_mail() with mail() but I get the same error.
 * I am trying to send emails through this form to [admin@seowebtips.com](https://wordpress.org/support/topic/problems-with-wp_mail-function/admin@seowebtips.com?output_format=md)
   email account which is on my VPS and is fully functional so there’s no problem.
 * I’m using WordPress 2.5.1.
 * Here is the contact form: [http://seowebtips.com/contact/](http://seowebtips.com/contact/)
 * Please take a look at it and please suggest me what might be a problem.

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

 *  Thread Starter [risoknop](https://wordpress.org/support/users/risoknop/)
 * (@risoknop)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/problems-with-wp_mail-function/#post-780538)
 * Someone? Thanks in advance.
 *  Thread Starter [risoknop](https://wordpress.org/support/users/risoknop/)
 * (@risoknop)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/problems-with-wp_mail-function/#post-780637)
 * Bump.
 *  [pickledegg](https://wordpress.org/support/users/pickledegg/)
 * (@pickledegg)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/problems-with-wp_mail-function/#post-780834)
 * The wordress support forum sucks. You’re better off writing your problem on a
   piece of toilet paper, and flushing it away.

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

The topic ‘Problems with wp_mail() function’ is closed to new replies.

## Tags

 * [contact-form](https://wordpress.org/support/topic-tag/contact-form/)
 * [sending email](https://wordpress.org/support/topic-tag/sending-email/)
 * [wp_mail](https://wordpress.org/support/topic-tag/wp_mail/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [pickledegg](https://wordpress.org/support/users/pickledegg/)
 * Last activity: [17 years, 3 months ago](https://wordpress.org/support/topic/problems-with-wp_mail-function/#post-780834)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
