Form Notifications not being recieved by email
I am taking delivery of a new website that is presently hosted with another company. A copy of this website has been transferred to my web server (windows 2008 / IIS 7).
The website contains many forms, when the forms are filled in they can be viewed within the dashboard ok, however when carrying out testing I do not recieve any email notifications, but they do work on the other company that presently hosts the website.
Is there a setting(s) I should check or is this a hosting / email problem?
This is the website on my servers I am referring tohttp://188.8.131.52/
I am not responsible for email within the company, but suspect email servers may not be configured for POP3 or SMTP, if this was the case, is there a way around this?
Dashboard - Reports - Logs this will show you if mails have been sent out and to whom.
I came across a similar thing once but it my case I was hosting the site and the mail was on another server, let me know if that's the case and I will explain how I got round it.
Thank you for your reply.
I checked the logs and they are there, although the "sent from" email address is from the web designer.
At present the website is hosted by Heart Internet and form notification emails work ok, but when it is on our server we do not recieve any form notifications whatsoever.
Will your "workaround" that you mention work in this scenario?
Mail Exception Occurred. Unable to send mail: '' does not match the expected structure for a DNS hostname, '' does not appear to be a valid local network name
#0 D:\inetpub\Akhter2012\concrete\libraries\3rdparty\Zend\Mail\Protocol\Smtp.php(156): Zend_Mail_Protocol_Abstract->__construct('', 465)
#1 D:\inetpub\Akhter2012\concrete\libraries\3rdparty\Zend\Mail\Protocol\Smtp\Auth\Login.php(76): Zend_Mail_Protocol_Smtp->__construct('', NULL, Array)
#2 D:\inetpub\Akhter2012\concrete\libraries\3rdparty\Zend\Mail\Transport\Smtp.php(198): Zend_Mail_Protocol_Smtp_Auth_Login->__construct('', NULL, Array)
#3 D:\inetpub\Akhter2012\concrete\libraries\3rdparty\Zend\Mail\Transport\Abstract.php(348): Zend_Mail_Transport_Smtp->_sendMail()
#4 D:\inetpub\Akhter2012\concrete\libraries\3rdparty\Zend\Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
#5 D:\inetpub\Akhter2012\concrete\helpers\mail.php(290): Zend_Mail->send(Object(Zend_Mail_Transport_Smtp))
#6 D:\inetpub\Akhter2012\concrete\blocks\form\controller.php(349): MailHelper->sendMail()
#7 D:\inetpub\Akhter2012\concrete\models\block.php(324): FormBlockController->action_submit_form()
#8 D:\inetpub\Akhter2012\concrete\startup\process.php(270): Block->passThruBlock('submit_form')
#9 D:\inetpub\Akhter2012\concrete\dispatcher.php(249): require('D:\inetpub\Akht...')
#10 D:\inetpub\Akhter2012\index.php(2): require('D:\inetpub\Akht...')
Template Used: block_form_submission
To: [email protected]
From: [email protected]
Subject: Projection Screens Form Submission
There has been a submission of the form Projection Screens on through your concrete5 website.
If you cant access the super user account to change the mail address you can always add into the site.php file in your /config folder and add the following line if you are comfortable with code.
define('FORM_BLOCK_SENDER_EMAIL', '[email protected] domain.com');
The error messages you showed earlier are for wiser heads than mine but I would recommend if at all possible to host this site on a Linux server, I have been stuck with issues with C5 sites on Windows servers and you will find that a large % of people on these forums are using Linux.
One of our technicians is trying to configure / work on the email problem, he is asking:
Where in the PHP code is the mail function and settings set?
P.s he is not familiar with Concrete
Make sure it is not concrete/config, never touch anything in /concrete as that is the core and can cause a whole load of trouble if you touch that and are not 100% confident.
In the /config folder is a file called site.php and you need to add the above code with the email address you want form submission to come from.
I hope it works out for you on the Windows server.