Answers.Body: <p>At <strong>Administer</strong> > <strong>CiviMail</strong> > <strong>Mail Accounts</strong> (<a href="http://dmaster.demo.civicrm.org/civicrm/admin/mailSettings?reset=1" rel="nofollow noreferrer">civicrm/admin/mailSettings</a>) you want to see two accounts configured, one for <strong>Bounce processing</strong> and one for <strong>Activity processing</strong></p>
  
  <p><a href="https://i.sstatic.net/AMebK.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/AMebK.png" alt="mail accounts"></a></p>
  
  <p>It's possible what you're describing is what happens when there is <em>no</em> account configured for activity processing. If so, the error message is a bit misleading, but I suspect that's what you're seeing. If not, continue :)</p>
  
  <p>Both of these mail accounts require working credentials, see "checking credentials" below.</p>
  
  <p>As well as the username / password correctly set, those mail accounts require a <em>protocol</em> - this is probably IMAP, and probably with SSL. (If your mail provider doesn't use SSL, that's bad IMO.)</p>
  
  <p><a href="https://i.sstatic.net/4jpBN.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/4jpBN.png" alt="mail account settings"></a></p>
  
  <h3>Checking credentials</h3>
  
  <p>Check the mail logins you have work ASAP. You can see the saved password in the DB or by viewing source when editing the account.</p>
  
  <p>I use <code>fetchmail</code> to verify this from the server, so I can check access works from the server in question as well. For a Gmail account <code>bounce@example.org</code>, this looks like:</p>
  
  <pre><code>fetchmail --ssl --check -u bounce@example.org -p imap imap.gmail.com
  </code></pre>
  
  <p>You can also check by adding a mail account to your desktop mail client, just remove it afterwards.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-10-12T15:10:49.947Z
Answers.Text: I made sure by just telneting the mail server, in this case outlook.office365.com. I'm fairly certain that the authentication is not the issue. I would use fetchmail but I'm in a jailshell.
Answers.UserDisplayName: Vito Mantese
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-02-09T23:05:50.763Z
Answers.Text: The lack of upvotes on this answer is criminal.  I'm not sure who to take to CiviCourt over it though.
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-02-27T19:04:42.430Z
Answers.Text: @VitoMantese, you don't need to use `fetchmail` from your webserver, you can run the command from any system which can run it. If you can't install fetchmail because it's not available for your OS, you may add the account to any desktop mail app installed on your computer to check if it can connect OK.
Answers.UserDisplayName: Chris Burgess
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-10-10T21:41:10.483Z
Answers.LastActivityDate: 2016-10-10T21:49:52.410Z
Answers.LastEditDate: 2016-10-10T21:49:52.410Z
Answers.UserDisplayName: Chris Burgess
Body: <p>I'm unable to pull activities from an email account. I'm using civicrm 4.5.5 and Wordpress. When looking at the job log I get </p>
  
  <pre><code>0
  Summary
  Finished execution of Process Inbound Emails with result: Failure, Error message: Process Activities failed
  Details
  
  Parameters parsed (and passed to API method): 
  a:1:{s:7:"version";i:3;}
  
  Full message: 
  Finished execution of Process Inbound Emails with result: Failure, Error message: Process Activities failed
  </code></pre>
  
  <p>Referencing <a href="https://civicrm.stackexchange.com/questions/7030/process-inbound-emails-failed">Process Inbound Emails Failed</a>  I looked at the civicrm error log and got the following error.</p>
  
  <pre><code>Oct 10 10:54:38  [info] $Fatal Error Details = Array
  (
      [message] =&gt; Could not connect to MailStore for @&lt;p&gt;Error message: &lt;pre&gt;Empty mail protocol&lt;/pre&gt;&lt;p&gt;
      [code] =&gt;
  )
  </code></pre>
  
  <p>So it seems like Civi isn't even the information I put in the CiviMail settings. Unlike the question referenced, my problem does not seem to be authentication based. I have an account set up for Email-to-Activity but it doesn't seem to be recognized. Any ideas?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-10-10T21:50:21.797Z
Comments.Text: The question does not specify CiviCRM version or CMS, so answer is for current 4.7 CiviCRM and Drupal. Adjust according to your situation. Linked site is the CiviCRM demo site - see http://demo.civicrm.org for details.
Comments.UserDisplayName: Chris Burgess
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-10-12T20:06:03.737Z
Comments.Text: good point, added, its civi 4.5.5 and wordpress
Comments.UserDisplayName: Vito Mantese
Tags: <civimail><scheduled-job>
Title: Process Inbound Emails Failed: No mail protocol
ThreadText: # Process Inbound Emails Failed: No mail protocol
  
  (Asked by: username_0 on 2016-10-10)
  
  I'm unable to pull activities from an email account. I'm using civicrm 4.5.5 and Wordpress. When looking at the job log I get 
  0
  Summary
  Finished execution of Process Inbound Emails with result: Failure, Error message: Process Activities failed
  Details
  
  Parameters parsed (and passed to API method): 
  a:1:{s:7:"version";i:3;}
  
  Full message: 
  Finished execution of Process Inbound Emails with result: Failure, Error message: Process Activities failed
  
  Referencing Process Inbound Emails Failed  I looked at the civicrm error log and got the following error.
  Oct 10 10:54:38  [info] $Fatal Error Details = Array
  (
      [message] => Could not connect to MailStore for @Error message: Empty mail protocol
      [code] =>
  )
  
  So it seems like Civi isn't even the information I put in the CiviMail settings. Unlike the question referenced, my problem does not seem to be authentication based. I have an account set up for Email-to-Activity but it doesn't seem to be recognized. Any ideas?
  
  **Tags:** civimail, scheduled-job
  
  > **Comments:**
  > **username_1**: The question does not specify CiviCRM version or CMS, so answer is for current 4.7 CiviCRM and Drupal. Adjust according to your situation. Linked site is the CiviCRM demo site - see http://demo.civicrm.org for details.  
  > **username_0**: good point, added, its civi 4.5.5 and wordpress  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-10-10. Score: 3
  
  At Administer > CiviMail > Mail Accounts (civicrm/admin/mailSettings) you want to see two accounts configured, one for Bounce processing and one for Activity processing
  
  It's possible what you're describing is what happens when there is no account configured for activity processing. If so, the error message is a bit misleading, but I suspect that's what you're seeing. If not, continue :)
  Both of these mail accounts require working credentials, see "checking credentials" below.
  As well as the username / password correctly set, those mail accounts require a protocol - this is probably IMAP, and probably with SSL. (If your mail provider doesn't use SSL, that's bad IMO.)
  
  Checking credentials
  Check the mail logins you have work ASAP. You can see the saved password in the DB or by viewing source when editing the account.
  I use fetchmail to verify this from the server, so I can check access works from the server in question as well. For a Gmail account bounce@example.org, this looks like:
  fetchmail --ssl --check -u bounce@example.org -p imap imap.gmail.com
  
  You can also check by adding a mail account to your desktop mail client, just remove it afterwards.
  
  > **Comments:**
  > **username_0**: I made sure by just telneting the mail server, in this case outlook.office365.com. I'm fairly certain that the authentication is not the issue. I would use fetchmail but I'm in a jailshell.  
  > **username_2**: The lack of upvotes on this answer is criminal.  I'm not sure who to take to CiviCourt over it though.  
  > **username_1**: @VitoMantese, you don't need to use `fetchmail` from your webserver, you can run the command from any system which can run it. If you can't install fetchmail because it's not available for your OS, you may add the account to any desktop mail app installed on your computer to check if it can connect OK.  
  
  ---
  
  