Mautic Community Forums

Can't successfully test Email settings, cron job?

I am trying to set up mautic and everything looks good until I try and test email in a campaign or in configuration:email settings. When I select “Test Connection” or “Send Test Email” all that happens is that the little spinning circle next to Send Test Email just keeps spinning. I never get an error message or anything - just spinning. Also no emails go out with my test campaign, but I am not even looking at that until I can get a test email/test connection functioning.



I am on a shared plan with hostgator

I have confirmed with Amazon SES my settings, DNS settings, login credentials, domain and email verifications, bounce email, etc and had them raise my sending limit to get “out of the sand box”

I have tried using my (Amazon confirmed) SMTP username and password as well as SMTP ports 25, 465, and 587 with both Plain and Login authentication.



Also - I am unsure if my cron jobs are correct. My primary domain is domainA.com. The site I am using Mautic with is domainB.com (installed under domainB). In file manager it is here:



/home4/user42/public_html/domainB.com/mautic



Where mautic is the name of the folder where I extracted the zip file for install. I am just testing in this phase to make sure I can even send emails from my site this way and am fine to delete mautic and start over, there is nothing set up I can not easily re-do.



This setup loads my mautic dashboard at domainB.com/mautic/s/dashboard



My cron jobs (I am guessing at how to do this based on some mautic youtube videos and am not versed in syntax, any suggestions appreciated) are:



php http://domainB.com/mautic/app/console mautic:segments:update

php http://domainB.com/mautic/app/console mautic:campaigns:rebuild

php http://domainB.com/mautic/app/console mautic:campaigns:trigger

php http://domainB.com/app/console mautic:messages:send

php http://domainB.com/mautic/app/console mautic:campaigns:update --env=prod

http://domainB.com/mautic/app/console mautic:segments:update --env=prod

php http://domainB.com/mautic/app/console mautic:campaigns:trigger --env=prod

php http://domainB.com/mautic/app/console mautic:iplookup:download



I can pay for support to get set up, but need everything hosted and set up on my site and am not interested in hosting either my corn jobs or mautic remotely or paying monthly fees outside of my Amazon SES.



I am not code savy but can get to things with clear instructions. Also, I am on a graphene WP theme - not sure that this matters but have had quirky sending issues with Easy SMTP and Arigato Autoresponder Pro in the past and wondered if my mail() function or php.ini had possibly been affected by the theme. Probably not related, but want to give all info.



I super appreciate any help or suggestions or direction possible!

Alaina

I am trying to set up mautic and everything looks good until I try and test email in a campaign or in configuration:email settings. When I select “Test Connection” or “Send Test Email” all that happens is that the little spinning circle next to Send Test Email just keeps spinning. I never get an error message or anything - just spinning. Also no emails go out with my test campaign, but I am not even looking at that until I can get a test email/test connection functioning.

I am on a shared plan with hostgator
I have confirmed with Amazon SES my settings, DNS settings, login credentials, domain and email verifications, bounce email, etc and had them raise my sending limit to get “out of the sand box”
I have tried using my (Amazon confirmed) SMTP username and password as well as SMTP ports 25, 465, and 587 with both Plain and Login authentication.

Also - I am unsure if my cron jobs are correct. My primary domain is domainA.com. The site I am using Mautic with is domainB.com (installed under domainB). In file manager it is here:

/home4/user42/public_html/domainB.com/mautic

Where mautic is the name of the folder where I extracted the zip file for install. I am just testing in this phase to make sure I can even send emails from my site this way and am fine to delete mautic and start over, there is nothing set up I can not easily re-do.

This setup loads my mautic dashboard at domainB.com/mautic/s/dashboard

My cron jobs (I am guessing at how to do this based on some mautic youtube videos and am not versed in syntax, any suggestions appreciated) are:

php http://domainB.com/mautic/app/console mautic:segments:update
php http://domainB.com/mautic/app/console mautic:campaigns:rebuild
php http://domainB.com/mautic/app/console mautic:campaigns:trigger
php http://domainB.com/app/console mautic:messages:send
php http://domainB.com/mautic/app/console mautic:campaigns:update --env=prod
http://domainB.com/mautic/app/console mautic:segments:update --env=prod
php http://domainB.com/mautic/app/console mautic:campaigns:trigger --env=prod
php http://domainB.com/mautic/app/console mautic:iplookup:download

I can pay for support to get set up, but need everything hosted and set up on my site and am not interested in hosting either my corn jobs or mautic remotely or paying monthly fees outside of my Amazon SES.

I am not code savy but can get to things with clear instructions. Also, I am on a graphene WP theme - not sure that this matters but have had quirky sending issues with Easy SMTP and Arigato Autoresponder Pro in the past and wondered if my mail() function or php.ini had possibly been affected by the theme. Probably not related, but want to give all info.

I super appreciate any help or suggestions or direction possible!
Alaina

So I looked in logs and got this error:
PHP Error - Call to undefined method setApiKey

Seems this may be an issue with 2.6
https://www.mautic.org/community/index.php/6910-error-sending-email/p1#p20078

There is a link to Zip for 2.5.1 which is more stable

Version 2.6.1 have been release
https://www.mautic.org/community/index.php/conversations/announcements