Answers.Body: <p>I would recommend testing if you have sendmail configured properly on your server by trying to send from the commandline (<a href="http://tecadmin.net/ways-to-send-email-from-linux-command-line/" rel="nofollow">http://tecadmin.net/ways-to-send-email-from-linux-command-line/</a>). Follow general sysadmin approaches to solve that problem, not least of which is to get the ISP support to help you. Once you know your sendmail is delivering from the commandline, you will want to make sure that the PHP run by Apache or Nginx for this site is using the same sendmail.</p>
  
  <p>Hope these pointers help. Sorry it isn't a step-by-step recipe but OS environments vary significantly.</p>
  
  <p>Another alternative worth exploring a bit before going too far down the rabbit hole of setting up sendmail on the server is whether one of the other mail sending options available on that CiviCRM page works.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-25T00:04:49.277Z
Answers.LastActivityDate: 2015-05-25T00:04:49.277Z
Answers.UserDisplayName: Joe Murray
Answers.Body: <p>This is mostly because Sendmail/Postfix hasn't been properly configured on the server. One can check it by sending a mail from the command line or the mail() function in PHP. Once properly configured, you should be able to send a test mail using the outbound email service. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-06-01T18:43:05.967Z
Answers.LastActivityDate: 2015-06-01T18:43:05.967Z
Answers.UserDisplayName: Mohit Agarwal
Body: <p>I'm using CiviCRM as a Wordpress plugin on localhost. I'm trying to configure outbound email service. I'm using Linux system.</p>
  
  <p>I go to Administer > System Settings > Outbound Email (SMTP/Sendmail), select the mail() option and then when I send a test mail, I receive the following error.</p>
  
  <p><img src="https://web.iiit.ac.in/~mohit.aggarwal/error.png" alt="Error Image"></p>
  
  <p>It would be great if someone could help me with this.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-05-24T22:54:22.000Z
Comments.Text: It's complicated. I can't get it working either. Start here and study it carefully. http://book.civicrm.org/user/current/advanced-configuration/email-system-configuration/
Comments.UserDisplayName: jimcrist
Tags: <civimail><configuration>
Title: How do I set up CiviMail on Wordpress CiviCRM plugin?
ThreadText: # How do I set up CiviMail on Wordpress CiviCRM plugin?
  
  (Asked by: username_0 on 2015-05-23)
  
  I'm using CiviCRM as a Wordpress plugin on localhost. I'm trying to configure outbound email service. I'm using Linux system.
  
  I go to Administer > System Settings > Outbound Email (SMTP/Sendmail), select the mail() option and then when I send a test mail, I receive the following error.
  
  ![Error Image](https://web.iiit.ac.in/~mohit.aggarwal/error.png)
  
  It would be great if someone could help me with this.
  
  **Tags:** civimail, configuration
  
  > **Comments:**
  > **username_1**: It's complicated. I can't get it working either. Start here and study it carefully. http://book.civicrm.org/user/current/advanced-configuration/email-system-configuration/  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2015-05-25. Score: 2
  
  I would recommend testing if you have sendmail configured properly on your server by trying to send from the commandline (<http://tecadmin.net/ways-to-send-email-from-linux-command-line/>). Follow general sysadmin approaches to solve that problem, not least of which is to get the ISP support to help you. Once you know your sendmail is delivering from the commandline, you will want to make sure that the PHP run by Apache or Nginx for this site is using the same sendmail.
  
  Hope these pointers help. Sorry it isn't a step-by-step recipe but OS environments vary significantly.
  
  Another alternative worth exploring a bit before going too far down the rabbit hole of setting up sendmail on the server is whether one of the other mail sending options available on that CiviCRM page works.
  
  
  ---
  
  ### Answer by username_0 on 2015-06-01. Score: 1
  
  This is mostly because Sendmail/Postfix hasn't been properly configured on the server. One can check it by sending a mail from the command line or the mail() function in PHP. Once properly configured, you should be able to send a test mail using the outbound email service.
  
  
  ---
  
  