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/11 08:49] Alia |
faq:email-sending-is-not-working [2015/12/04 04:05] (current) Den |
||
---|---|---|---|
Line 24: | Line 24: | ||
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. Enable SMTP only if you don't have any other options left| | ||
====== Troubleshooting Steps ====== | ====== Troubleshooting Steps ====== | ||
Line 49: | Line 51: | ||
While checking "Current Cron Jobs" section, pay attention at how often Cron is set to run: ex. once a minute, or once in 5 minutes. You will need this information later on. | While checking "Current Cron Jobs" section, pay attention at how often Cron is set to run: ex. once a minute, or once in 5 minutes. You will need this information later on. | ||
- | ====Crontab command executing SkaDateX's ow_cron/run.php file has been created and used command is correct. What to do next? ==== | + | ====Step #1: Crontab command executing ow_cron/run.php file has been created and used command is correct. What to do next? ==== |
- | * Open your database via PhpMyAdmin >> find **ow_base_mail** database table. This is the place where queued "to be sent" emails are stored waiting for Cron to run. Keep this table opened in one browser tab/window. | + | *** Open your database via PhpMyAdmin** >> find **ow_base_mail** database table. This is the place where queued "to be sent" emails are stored waiting for Cron to run. Keep this table opened in one browser tab/window. |
+ | *** Open your Admin panel** in a another tab/window. Go to Users >> Browser Users >> Invite one member. | ||
+ | * **Open the tab/window with** **ow_base_mail** table. Refresh the table. Did the row/entry containing data about your latest sent invite has been generated? | ||
+ | * If new row appeared>>everything is ok. Script has generated an email and this email is now waiting for Cron to run. | ||
+ | * If new row didn't appear, this means that SkaDateX didn't generate the email. This situation is not likely to happen. If you face this, please contact SkaDateX support team. | ||
+ | * **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? | ||
+ | * **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. | ||
+ | * 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. | ||
+ | * 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 your Admin panel in a another tab/window. Go to Users >> Browser Users >> Invite one member. | + | 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. |
- | * Open the tab/window with **ow_base_mail** table. Refresh the table. Did the row/entry containing data about your latest sent invite has been generated? | + | |
- | If new row appeared>>everything is ok. Script has generated an email and this email is now waiting for Cron to run. | + | ==== 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? ==== |
- | If new row didn't appear, this means that SkaDateX didn't generate the email. This situation is not likely to happen. If you face this, please contact SkaDateX support team. | + | When emails "leave" ow_base_mail table our software no longer controls them. All is up to your mail server and recipient's mail provider. |
- | * Wait until Cron runs. We recommend waiting for at least 5 minutes even if your Cron is set to run every minute. | + | * make sure that valid email has been specified in Admin panel >> Settings >> Main Settings. |
+ | * 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. | ||
+ | * 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. | ||
- | * 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 | + | ===== I am not receiving direct emails: ex. verification email. What to do? ===== |
- | your testing email has been pushed to your mail server. Once emails "leave" ow_base_mail table SkadateX | + | |**Important!**:Troubleshooting steps are based on assumption that SMTP is disabled.| |
- | 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. | + | |
- | Entry with my testing invitation email has not been removed: this indicates that Cron didn't ran.As a | + | 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. |
- | 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. | + | * Make sure that valid email address is used in Admin Panel >> Settings >> Main Settings >> site email. |
- | 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. | + | * Try renaming title of the verification email. Go to Admin Panel >> Settings >> Languages>> search by "Email verification" keywords >> text key to edit "{text key='base+email_verify_subject'}" >> change the title to, for example, "Approve your account" or any other text of your choice that doesn't contain "verify" and "email" keywords. Some hosting/mail providers might have filters blocking emails with certain keywords. |
- | 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. | + | * 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. |
- | open ow_log folder via FTP or File manager >> open cron_error.log. Does the log contain any recent errors. | + | * 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. |
- | If you found 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. | + | ====== How to use Gmail SMTP for testing purposes====== |
- | ====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? ==== | + | Go to Admin Panel >> Settings >> Main Settings >> SMTP tab. |
- | When emails "leave" ow_base_mail table our software no longer controls them. All is up to your mail server and recipient's mail provider. Possible reasons: | + | Fill in the form. |
- | - incorrect ( invalid) email has been specified in Admin panel >> Settings >> Main Settings. | + | |
- | - email landed into spam/junk box. Make sure to check those inboxes. | + | |
- | - your hosting/mail server is not working/blocking/restricting you from sending emails. | + | |
- | What can be done: Enable SMTP and try sending out emails using gmail SMTP (http://support.google.com/mail/answer/13287?hl=en). Use Outgoing Mail (SMTP) | + | |
- | - recipient's mail provider is blocking emails from your IP address/domain. | + | |
- | Try sending 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 blacklisted. | + | |
+ | * 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|}} | ||
- | ===== I am not receiving direct emails: ex. verification email. What to do? ===== | ||