Answers.Body: <p>I have used SMTP using gmail but i am not sure about using a different username other than gmail but you can try the below </p>
  
  <p>First make sure you have set up the FROM Email ID - correctly </p>
  
  <ul>
  <li>Set the FROM Email Address</li>
  </ul>
  
  <p>Administer -> Commincations -> FROM Email Addresses </p>
  
  <p>"name" info@example.org - set this in the same format to your email id and update - and try first if you are getting error try the below option </p>
  
  <p>If that didn't help please try using an gmail account email ID rather than .org ID - that should work correctly - I guess </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-08T10:15:29.517Z
Answers.LastActivityDate: 2016-04-08T10:15:29.517Z
Answers.UserDisplayName: Ramesh - ARTECH Consultancy
Answers.Body: <p>you have a problem outside of civicrm realm: you are trying to send an email from a domain name that has a SPF record that doesn't include your server IP address.</p>
  
  <p>it is the domain that you have set up for the bounce that needs to have the SPF record.</p>
  
  <p>However, before you go down that rabbit hole: google has limitations on how many emails you can sent via their smtp server. It will never work for a production configuration as soon as you have more than a handful of contacts you want to mail.</p>
  
  <p>I would suggest you to use an external provider to do the mailing (they are lots of providers (civismtp, sendgrid, mailjet...) that can easily be integrated with your civicrm that you can use. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-08T10:33:55.717Z
Answers.LastActivityDate: 2016-04-08T10:33:55.717Z
Answers.UserDisplayName: Xavier
Body: <p>I do not have a web development background, so you will have to bear with me. I am currently using CiviCRM 4.7.0 on Wordpress 4.9.2. I am trying to set up CiviMail and am receiving a "Mail Not Sent" error. We are currently using Webfactional to host our Wordpress site. I had previously been receiving a softfail when using mail(). This is the softfail that I would see in "Show Original" on Gmail:</p>
  
  <p>Received-SPF: softfail (google.com: domain of transitioning <strong>our email</strong> does not designate 74.55.86.74 as permitted sender) client-ip=74.55.86.74;
  Authentication-Results: mx.google.com;
         spf=softfail (google.com: domain of transitioning <strong>our email</strong> does not designate 74.55.86.74 as permitted sender) smtp.mailfrom=<strong>our email</strong></p>
  
  <p>I contacted them and followed instructions to set it up so that our Email would not be using their smtp but rather, go through Google Apps since Webfactional sets limitations on bulk mailings. I also set up an SFP DNS following <a href="https://docs.webfaction.com/user-guide/email.html#spam-protection" rel="nofollow noreferrer">their instructions</a> for Google Apps. Following the instructions on Google Apps, I entered the following and received this error message when I tried a test email: <a href="https://i.sstatic.net/37dAi.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/37dAi.png" alt="enter image description here"></a></p>
  
  <p>I tried removing the ssl:// and also tried to use Port 25 just for the sake of testing. I don't quite know where to head from here. What steps did I just completely miss or do wrong that I'm not seeing?</p>
  
  <p>Thanks in advance!</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-04-08T17:55:35.007Z
Comments.Text: Did you try port 587? Also are you sure you've not exceeded your daily limit - https://support.google.com/a/answer/166852?hl=en
Comments.UserDisplayName: Sanjay Jain
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-04-09T20:41:59.143Z
Comments.Text: Yes and yes, as I have not tried to send any emails outside of the test ones. Thank you for your reply.  Xavier's answer below is what I was afraid of.
Comments.UserDisplayName: envirokid
Tags: <civimail><email>
Title: Struggling to set-up SMTP Configuration
ThreadText: # Struggling to set-up SMTP Configuration
  
  (Asked by: username_0 on 2016-04-07)
  
  I do not have a web development background, so you will have to bear with me. I am currently using CiviCRM 4.7.0 on Wordpress 4.9.2. I am trying to set up CiviMail and am receiving a "Mail Not Sent" error. We are currently using Webfactional to host our Wordpress site. I had previously been receiving a softfail when using mail(). This is the softfail that I would see in "Show Original" on Gmail:
  
  Received-SPF: softfail (google.com: domain of transitioning **our email** does not designate 74.55.86.74 as permitted sender) client-ip=74.55.86.74;
  Authentication-Results: mx.google.com;
  spf=softfail (google.com: domain of transitioning **our email** does not designate 74.55.86.74 as permitted sender) smtp.mailfrom=**our email**
  
  I contacted them and followed instructions to set it up so that our Email would not be using their smtp but rather, go through Google Apps since Webfactional sets limitations on bulk mailings. I also set up an SFP DNS following [their instructions](https://docs.webfaction.com/user-guide/email.html#spam-protection) for Google Apps. Following the instructions on Google Apps, I entered the following and received this error message when I tried a test email: [![enter image description here](https://i.sstatic.net/37dAi.png)](https://i.sstatic.net/37dAi.png)
  
  I tried removing the ssl:// and also tried to use Port 25 just for the sake of testing. I don't quite know where to head from here. What steps did I just completely miss or do wrong that I'm not seeing?
  
  Thanks in advance!
  
  **Tags:** civimail, email
  
  > **Comments:**
  > **username_1**: Did you try port 587? Also are you sure you've not exceeded your daily limit - https://support.google.com/a/answer/166852?hl=en  
  > **username_0**: Yes and yes, as I have not tried to send any emails outside of the test ones. Thank you for your reply.  username_3's answer below is what I was afraid of.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_3 on 2016-04-08. Score: 4 | Accepted answer
  
  you have a problem outside of civicrm realm: you are trying to send an email from a domain name that has a SPF record that doesn't include your server IP address.
  
  it is the domain that you have set up for the bounce that needs to have the SPF record.
  
  However, before you go down that rabbit hole: google has limitations on how many emails you can sent via their smtp server. It will never work for a production configuration as soon as you have more than a handful of contacts you want to mail.
  
  I would suggest you to use an external provider to do the mailing (they are lots of providers (civismtp, sendgrid, mailjet...) that can easily be integrated with your civicrm that you can use.
  
  
  ---
  
  ### Answer by username_2 on 2016-04-08. Score: 0
  
  I have used SMTP using gmail but i am not sure about using a different username other than gmail but you can try the below
  
  First make sure you have set up the FROM Email ID - correctly
  
  * Set the FROM Email Address
  
  Administer -> Commincations -> FROM Email Addresses
  
  "name" info@example.org - set this in the same format to your email id and update - and try first if you are getting error try the below option
  
  If that didn't help please try using an gmail account email ID rather than .org ID - that should work correctly - I guess
  
  
  ---
  
  