Contact Us Form
Permalink
I have created a Contact Us using the Form Block. I have tried using the php mail fuction() and smtp method. Neither have worked to send an email to the admin email address concerning an inquiry. GoDaddy is hosting and I have found numerous forums that says form submission does not work with GoDaddy hosting because it gets block.
When I send the form using php mail function() this is what I get from log.
**EMAILS ARE ENABLED. THIS EMAIL WAS SENT TO mail()**
Template Used: block_form_submission
Mail Details: Date: Wed, 14 Sep 2016 09:11:36 -0700
Reply-To: sgarcia@exsomed.com
From: sgarcia@exsomed.com
Subject: =?UTF-8?Q?Contact=20Form=20Submission?=
To: sgarcia@exsomed.com
So when I look at my log it see the following when mail is sent:
Reply-To: customername@exsomed.com
From: sgarcia@exsomed.com
To: sgarcia@exsomed.com
Howeever I never see the email itself I end up seeing this error when I do a test mail:
Mail Exception Occurred. Unable to send mail: Could not open socket
#0 /home/exsomed4all/public_html/concrete/vendor/zendframework/zend-mail/src/Protocol/Smtp.php(156): Zend\Mail\Protocol\AbstractProtocol->_connect('tcp://smtpout.l...')
#1 /home/exsomed4all/public_html/concrete/vendor/zendframework/zend-mail/src/Transport/Smtp.php(339): Zend\Mail\Protocol\Smtp->connect()
#2 /home/exsomed4all/public_html/concrete/vendor/zendframework/zend-mail/src/Transport/Smtp.php(325): Zend\Mail\Transport\Smtp->connect()
#3 /home/exsomed4all/public_html/concrete/vendor/zendframework/zend-mail/src/Transport/Smtp.php(336): Zend\Mail\Transport\Smtp->lazyLoadConnection()
#4 /home/exsomed4all/public_html/concrete/vendor/zendframework/zend-mail/src/Transport/Smtp.php(205): Zend\Mail\Transport\Smtp->connect()
#5 /home/exsomed4all/public_html/concrete/src/Mail/Service.php(497): Zend\Mail\Transport\Smtp->send(Object(Zend\Mail\Message))
#6 /home/exsomed4all/public_html/concrete/blocks/form/controller.php(572): Concrete\Core\Mail\Service->sendMail()
#7 [internal function]: Concrete\Block\Form\Controller->action_submit_form('276')
#8 /home/exsomed4all/public_html/concrete/src/Controller/AbstractController.php(161): call_user_func_array(Array, Array)
#9 /home/exsomed4all/public_html/concrete/src/Page/Controller/PageController.php(245): Concrete\Core\Controller\AbstractController->runAction('action_submit_f...', Array)
#10 /home/exsomed4all/public_html/concrete/src/Routing/DispatcherRouteCallback.php(195): Concrete\Core\Page\Controller\PageController->validateRequest()
#11 /home/exsomed4all/public_html/concrete/src/Application/Application.php(437): Concrete\Core\Routing\DispatcherRouteCallback->execute(Object(Concrete\Core\Http\Request))
#12 /home/exsomed4all/public_html/concrete/bootstrap/start.php(306): Concrete\Core\Application\Application->dispatch(Object(Concrete\Core\Http\Request))
#13 /home/exsomed4all/public_html/concrete/dispatcher.php(36): require('/home/exsomed4a...')
#14 /home/exsomed4all/public_html/index.php(2): require('/home/exsomed4a...')
#15 {main}
I have tried everything so at this point I am hoping someone here has an answer or a direct I can be pointed to.
Thank you so much in advance for all your help.
:-)
When I send the form using php mail function() this is what I get from log.
**EMAILS ARE ENABLED. THIS EMAIL WAS SENT TO mail()**
Template Used: block_form_submission
Mail Details: Date: Wed, 14 Sep 2016 09:11:36 -0700
Reply-To: sgarcia@exsomed.com
From: sgarcia@exsomed.com
Subject: =?UTF-8?Q?Contact=20Form=20Submission?=
To: sgarcia@exsomed.com
So when I look at my log it see the following when mail is sent:
Reply-To: customername@exsomed.com
From: sgarcia@exsomed.com
To: sgarcia@exsomed.com
Howeever I never see the email itself I end up seeing this error when I do a test mail:
Mail Exception Occurred. Unable to send mail: Could not open socket
#0 /home/exsomed4all/public_html/concrete/vendor/zendframework/zend-mail/src/Protocol/Smtp.php(156): Zend\Mail\Protocol\AbstractProtocol->_connect('tcp://smtpout.l...')
#1 /home/exsomed4all/public_html/concrete/vendor/zendframework/zend-mail/src/Transport/Smtp.php(339): Zend\Mail\Protocol\Smtp->connect()
#2 /home/exsomed4all/public_html/concrete/vendor/zendframework/zend-mail/src/Transport/Smtp.php(325): Zend\Mail\Transport\Smtp->connect()
#3 /home/exsomed4all/public_html/concrete/vendor/zendframework/zend-mail/src/Transport/Smtp.php(336): Zend\Mail\Transport\Smtp->lazyLoadConnection()
#4 /home/exsomed4all/public_html/concrete/vendor/zendframework/zend-mail/src/Transport/Smtp.php(205): Zend\Mail\Transport\Smtp->connect()
#5 /home/exsomed4all/public_html/concrete/src/Mail/Service.php(497): Zend\Mail\Transport\Smtp->send(Object(Zend\Mail\Message))
#6 /home/exsomed4all/public_html/concrete/blocks/form/controller.php(572): Concrete\Core\Mail\Service->sendMail()
#7 [internal function]: Concrete\Block\Form\Controller->action_submit_form('276')
#8 /home/exsomed4all/public_html/concrete/src/Controller/AbstractController.php(161): call_user_func_array(Array, Array)
#9 /home/exsomed4all/public_html/concrete/src/Page/Controller/PageController.php(245): Concrete\Core\Controller\AbstractController->runAction('action_submit_f...', Array)
#10 /home/exsomed4all/public_html/concrete/src/Routing/DispatcherRouteCallback.php(195): Concrete\Core\Page\Controller\PageController->validateRequest()
#11 /home/exsomed4all/public_html/concrete/src/Application/Application.php(437): Concrete\Core\Routing\DispatcherRouteCallback->execute(Object(Concrete\Core\Http\Request))
#12 /home/exsomed4all/public_html/concrete/bootstrap/start.php(306): Concrete\Core\Application\Application->dispatch(Object(Concrete\Core\Http\Request))
#13 /home/exsomed4all/public_html/concrete/dispatcher.php(36): require('/home/exsomed4a...')
#14 /home/exsomed4all/public_html/index.php(2): require('/home/exsomed4a...')
#15 {main}
I have tried everything so at this point I am hoping someone here has an answer or a direct I can be pointed to.
Thank you so much in advance for all your help.
:-)
And unrelated to your email issues, I would seriously consider compressing that video on your home page, it takes foreeever to load.
Check out my video compression script on github, it can squash that video size waaaaay down while keeping the quality good. Its a linux command line script, so you would have to run it from a unix box:
https://gist.github.com/ob7/bbb98cc68fa374012758...
Check out my video compression script on github, it can squash that video size waaaaay down while keeping the quality good. Its a linux command line script, so you would have to run it from a unix box:
https://gist.github.com/ob7/bbb98cc68fa374012758...
Thanks for the info on video seems to load better however now when I view the site it does not autoplay or loop
As for the email issue I have tried everything regarding the SMTP Method:
smtp.godaddy.com
smtp.localhost.com
smtpout.secureserver.com
relay-hosting.secureserver.net
along with the email login infornation for the email address being used to receive all emails, I have left the encryption & port blank.
Still nothing.
As for the email issue I have tried everything regarding the SMTP Method:
smtp.godaddy.com
smtp.localhost.com
smtpout.secureserver.com
relay-hosting.secureserver.net
along with the email login infornation for the email address being used to receive all emails, I have left the encryption & port blank.
Still nothing.
Probably need better SMTP credentials, if you have a gmail account, you could try that:
Heres a walkthrough:
https://www.digitalocean.com/community/tutorials/how-to-use-google-s...
By the way, the video is autoplaying and repeating when I reload your site. Try clearing your cache.
Heres a walkthrough:
https://www.digitalocean.com/community/tutorials/how-to-use-google-s...
By the way, the video is autoplaying and repeating when I reload your site. Try clearing your cache.
This is why we always use the SMTP method in any kind of php mailing application. Concrete5 uses swiftmailer, which is the way to go for sending emails with php. So try to get the smtp method to work somehow.
I'm not sure what the "Could not open socket" error is from. I would check that your using valid credentials as the smtp method, using the right port and login info, and try to get that to work. If you get a success message that smtp worked, its very unlikely that you won't receive the email.