Answers.Body: <p>If you haven't set up a cron job then none of the shceduled jobs you enabled are going to run automatically, so that is definitely necessary. Pradeeps suggestion is a quick way to check if this will solve your problem.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-03-11T11:35:29.250Z
Answers.LastActivityDate: 2022-03-11T11:35:29.250Z
Answers.UserDisplayName: Mick Kahn
Body: <p>I am probably missing something glaringly obvious but I've been running in circles in the past days.</p>
  <p>I've been unable to send emails to recipients (usual mailing, mosaico..) and after a lot of tuning the system supposedly sends the email (doesn't show any errors) but the mailing is stuck on scheduled and won't budge.</p>
  <p>In the outbound mail I've tried the mail() and SMTP options to no avail. For the latter I added my work gmail account with its username and password.
  In the mail accounts settings I have two items, both on the same server with Maildir protocol and not using SSL. One is used for Email-to-activity and the other for Bounce processing.</p>
  <p>The environment instance of civiCRM is set to production.</p>
  <p>The FROM addresses I added were my work e-mail just to test it (it was added for SMTP settings) and a few addresses that are gmail routing addresses (it's not a &quot;proper account&quot; where you have a username/password but you choose the name of your e-mail and it routes into inboxes of people who are recipients of such routing address).</p>
  <p>None of the e-mails go past the scheduled point.</p>
  <p>I enabled the Send Scheduled Mailings in the Scheduled Jobs settings but it seems that cron jobs have not been enabled so that could possibly be the culprit?
  If cron jobs are the problem, can I use the mentioned routing addresses as from addresses and what should I add as SMTP settings if that's what I'm supposed to use (we use gmail for our communication).
  I really don't want my username/password to be associated with it.</p>
  <p>Civi is on Wordpress 5.9.2.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-03-11T11:22:36.960Z
Comments.Text: Have you tried executing Send Scheduled Mailings in the Scheduled Jobs manually?
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-03-11T15:46:44.000Z
Comments.Text: Can you please clarify exactly what happens when you press "Save and Send Test Email" on the **Administer menu » System Settings » Outbound Email** screen?  None of the rest of this matters if that's not working.
Comments.UserDisplayName: Jon G - Megaphone Tech
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-03-17T09:51:49.453Z
Comments.Text: @PradeepNayak, it says that the Send Scheduled Mailings (job.process_mailing) job has been executed
Comments.UserDisplayName: slovojed
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-03-17T09:52:05.023Z
Comments.Text: @JonG-MegaphoneTech, settings always revert to mail() as Mailer regardless of saving differently. When sent using mail() I get confirmation that the mail has been sent but nothing comes, and when using SMTP with my personal credentials (and that e-mail was added in From Email Adress) I get an error screen that the SMTP settings are incorrect saying that the "Network is unreachable".
  
  Mail was sent to a group of 3 members (2 gmail, 1 protonmail) and 1 gmail was flagged as not being on hold.
Comments.UserDisplayName: slovojed
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2022-03-17T21:22:41.040Z
Comments.Text: @slovojed Do you have root permissions on the underlying server, or is this a shared hosting situation?  It sounds like you might have an outbound firewall issue, particularly with "Network is unreachable".  The built-in `mail()` uses the server's mailer, and if that's not coming through, the server is probably unable to send mail.  If you *do* have access to the server and can see the mail logs, it's likely there are clues there.  If you have SSH access, a tool like [swaks](http://www.jetmore.org/john/code/swaks/) can help troubleshoot too.
Comments.UserDisplayName: Jon G - Megaphone Tech
Tags: <wordpress><civimail>
Title: Enabling emailing from civi
ThreadText: # Enabling emailing from civi
  
  (Asked by: username_0 on 2022-03-11)
  
  I am probably missing something glaringly obvious but I've been running in circles in the past days.
  
  I've been unable to send emails to recipients (usual mailing, mosaico..) and after a lot of tuning the system supposedly sends the email (doesn't show any errors) but the mailing is stuck on scheduled and won't budge.
  
  In the outbound mail I've tried the mail() and SMTP options to no avail. For the latter I added my work gmail account with its username and password.
  In the mail accounts settings I have two items, both on the same server with Maildir protocol and not using SSL. One is used for Email-to-activity and the other for Bounce processing.
  
  The environment instance of civiCRM is set to production.
  
  The FROM addresses I added were my work e-mail just to test it (it was added for SMTP settings) and a few addresses that are gmail routing addresses (it's not a "proper account" where you have a username/password but you choose the name of your e-mail and it routes into inboxes of people who are recipients of such routing address).
  
  None of the e-mails go past the scheduled point.
  
  I enabled the Send Scheduled Mailings in the Scheduled Jobs settings but it seems that cron jobs have not been enabled so that could possibly be the culprit?
  If cron jobs are the problem, can I use the mentioned routing addresses as from addresses and what should I add as SMTP settings if that's what I'm supposed to use (we use gmail for our communication).
  I really don't want my username/password to be associated with it.
  
  Civi is on Wordpress 5.9.2.
  
  **Tags:** wordpress, civimail
  
  > **Comments:**
  > **username_1**: Have you tried executing Send Scheduled Mailings in the Scheduled Jobs manually?  
  > **username_2**: Can you please clarify exactly what happens when you press "Save and Send Test Email" on the **Administer menu » System Settings » Outbound Email** screen?  None of the rest of this matters if that's not working.  
  > **username_0**: @username_1, it says that the Send Scheduled Mailings (job.process_mailing) job has been executed  
  > **username_0**: @username_2, settings always revert to mail() as Mailer regardless of saving differently. When sent using mail() I get confirmation that the mail has been sent but nothing comes, and when using SMTP with my personal credentials (and that e-mail was added in From Email Adress) I get an error screen that the SMTP settings are incorrect saying that the "Network is unreachable".  Mail was sent to a group of 3 members (2 gmail, 1 protonmail) and 1 gmail was flagged as not being on hold.  
  > **username_2**: @username_0 Do you have root permissions on the underlying server, or is this a shared hosting situation?  It sounds like you might have an outbound firewall issue, particularly with "Network is unreachable".  The built-in `mail()` uses the server's mailer, and if that's not coming through, the server is probably unable to send mail.  If you *do* have access to the server and can see the mail logs, it's likely there are clues there.  If you have SSH access, a tool like [swaks](http://www.jetmore.org/john/code/swaks/) can help troubleshoot too.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2022-03-11. Score: 0
  
  If you haven't set up a cron job then none of the shceduled jobs you enabled are going to run automatically, so that is definitely necessary. Pradeeps suggestion is a quick way to check if this will solve your problem.
  
  
  ---
  
  