This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
faq:email-sending-is-not-working [2015/03/12 10:35] Alia |
faq:email-sending-is-not-working [2015/12/04 04:05] (current) Den |
||
---|---|---|---|
Line 25: | Line 25: | ||
Troubleshooting why emails are not being delivered depends on the type of the email. | Troubleshooting why emails are not being delivered depends on the type of the email. | ||
- | |**Important!**:When SMTP is enabled in Admin Panel >> Settings >> Main Settings ALL site emails are sent via Cron.| | + | |**Important!**:When SMTP is enabled in Admin Panel >> Settings >> Main Settings ALL site emails are sent via Cron. Enable SMTP only if you don't have any other options left| |
====== Troubleshooting Steps ====== | ====== Troubleshooting Steps ====== | ||
Line 60: | Line 60: | ||
* **Wait until Cron runs**. We recommend waiting for at least 5 minutes even if your Cron is set to run every minute. | * **Wait until Cron runs**. We recommend waiting for at least 5 minutes even if your Cron is set to run every minute. | ||
* **Refresh ow_base_mail table.** Was the row your saw before ( row containing data of your latest mailing) removed? | * **Refresh ow_base_mail table.** Was the row your saw before ( row containing data of your latest mailing) removed? | ||
- | * **Entry with my testing invitation email has been removed:** this indicates that Cron ran successfully and your testing email has been pushed to your mail server. Once emails "leave" ow_base_mail table SkadateX software doesn't have control over what will happen with this email. Delivery is up to your mail server and recipient's mail provider only. Wait for 5 more minutes and check the email where invitation should have arrived. If you still don't receive the email please read following... | + | * **Entry with my testing invitation email has been removed:** this indicates that Cron ran successfully and your testing email has been pushed to your mail server. Once emails "leave" ow_base_mail table SkadateX software doesn't have control over what will happen with this email. Delivery is up to your mail server and recipient's mail provider only. Wait for 5 more minutes and check the email where invitation should have arrived. If you still don't receive the email please check Step 2 section of this manual. |
* **Entry with my testing invitation email has not been removed:** this indicates that Cron didn't ran. As a result email has not not been sent. There could be several reasons why Cron didn't run. | * **Entry with my testing invitation email has not been removed:** this indicates that Cron didn't ran. As a result email has not not been sent. There could be several reasons why Cron didn't run. | ||
- | * contact your hosting provider and ask them to make sure that crond is up and running. If you have SSH access details you can check this yourself by running ps ax | grep crond via SSH. | + | * contact your hosting provider and ask them to make sure that **crond** is up and running. If you have SSH access details you can check this yourself by running **ps ax | grep crond** command via SSH. |
* used cron command is incorrect. Once again make sure that correct command is used. If you have SSH access try executing your command via SSH. You should not be getting any errors. | * used cron command is incorrect. Once again make sure that correct command is used. If you have SSH access try executing your command via SSH. You should not be getting any errors. | ||
- | * when setting up Cron Jobs via control panel you can specify an email address where you will be receiving email report each time Cron runs. Enter your email there. Wait until Cron runs. Check your email.If you receive the report, make sure that it doesn't contain any errors. | + | * when setting up Cron Jobs via control panel you can specify an email address where you will be receiving email reports each time Cron runs. Enter your email there. Wait until Cron runs. Check your email.If you receive the report, make sure that it doesn't contain any errors. |
- | * open ow_log folder via FTP or File manager >> open cron_error.log. Does the log contain any recent errors. | + | * open **ow_log** folder via FTP or File manager >> open **cron_error.log.** Does the log contain any recent errors. |
- | If you find any errors either within the email reports or within error logs and you are not sure what the errors means, you can always contact SkaDateX support team. | + | If you find any errors either within the email reports or within error logs and you are not sure whaterrors mean, you can always contact SkaDateX support team. |
==== Step #2: The entry related to my testing email has been removed from ow_base_mail but I still have not received the email. What to do next? ==== | ==== Step #2: The entry related to my testing email has been removed from ow_base_mail but I still have not received the email. What to do next? ==== | ||
Line 76: | Line 76: | ||
* make sure to check spam/junk folders of the email where testing invite should have arrived. | * make sure to check spam/junk folders of the email where testing invite should have arrived. | ||
* your hosting/mail server is not working/blocking/restricting you from sending emails. Try using gmail's SMTP for testing purposes. If email sent via SMTP mail provider will arrive, you will need to contact your mail/hosting provider and ask them to troubleshoot why mail sending is not working using their server. | * your hosting/mail server is not working/blocking/restricting you from sending emails. Try using gmail's SMTP for testing purposes. If email sent via SMTP mail provider will arrive, you will need to contact your mail/hosting provider and ask them to troubleshoot why mail sending is not working using their server. | ||
- | |||
* recipient's mail provider is blocking emails from your IP address/domain. Try inviting users with different emails. If email will be delivered to one address but won't reach other mailboxes, then you will need to contact corresponding mail providers and check with them whether your IP or domain is not blacklisted. Make sure to send at least one invite to any @gmail.com address. Gmail is known to be the most loyal in terms of filtering. | * recipient's mail provider is blocking emails from your IP address/domain. Try inviting users with different emails. If email will be delivered to one address but won't reach other mailboxes, then you will need to contact corresponding mail providers and check with them whether your IP or domain is not blacklisted. Make sure to send at least one invite to any @gmail.com address. Gmail is known to be the most loyal in terms of filtering. | ||
Line 83: | Line 82: | ||
|**Important!**:Troubleshooting steps are based on assumption that SMTP is disabled.| | |**Important!**:Troubleshooting steps are based on assumption that SMTP is disabled.| | ||
- | When direct email is generated it get's sent to your mail server right away. Therefore delivery failure of such emails is connected to your mail/hosting server's configurations or recipient's mail provider. | + | When direct email is generated it is sent to your mail server right away. Therefore delivery failure of such emails is connected to your mail/hosting server's configurations or recipient's mail provider. |
* Make sure that valid email address is used in Admin Panel >> Settings >> Main Settings >> site email. | * Make sure that valid email address is used in Admin Panel >> Settings >> Main Settings >> site email. | ||
Line 89: | Line 88: | ||
* recipient's mail provider is blocking emails from your IP address/domain. Try registering users with different emails. If email will be delivered to one address but won't reach other mailboxes, then you will need to contact corresponding mail providers and check with them whether your IP or domain is not blacklisted. Make sure to send at least one invite to any @gmail.com address. Gmail is known to be the most loyal in terms of filtering. | * recipient's mail provider is blocking emails from your IP address/domain. Try registering users with different emails. If email will be delivered to one address but won't reach other mailboxes, then you will need to contact corresponding mail providers and check with them whether your IP or domain is not blacklisted. Make sure to send at least one invite to any @gmail.com address. Gmail is known to be the most loyal in terms of filtering. | ||
* your hosting/mail server is not working/blocking/restricting you from sending emails. Try using gmail's SMTP for testing purposes. If email sent via SMTP mail provider will arrive, you will need to contact your mail/hosting provider and ask them to troubleshoot why mail sending is not working using their server. | * your hosting/mail server is not working/blocking/restricting you from sending emails. Try using gmail's SMTP for testing purposes. If email sent via SMTP mail provider will arrive, you will need to contact your mail/hosting provider and ask them to troubleshoot why mail sending is not working using their server. | ||
+ | |||
+ | ====== How to use Gmail SMTP for testing purposes====== | ||
+ | |||
+ | Go to Admin Panel >> Settings >> Main Settings >> SMTP tab. | ||
+ | |||
+ | Fill in the form. | ||
+ | |||
+ | * Enable - check the box. | ||
+ | * Host:Port - smtp.gmail.com : 465 OR 587 | ||
+ | * Username - your gmail address. | ||
+ | * Password - your password to gmail account. | ||
+ | * Secure connection | ||
+ | * If you specify port 587, select TLS. | ||
+ | * If you specify port 465 select SSL. | ||
+ | |||
+ | Save your changes. | ||
+ | |||
+ | Once changes are saved click "Test Connection". Make sure to receive a "success" notice after testing the connection. | ||
+ | |||
+ | {{:faq:screenshot-401.png?300|}} | ||
+ | |||