Zend SendMail Error
Permalink
Hi, folks. I have a weird problem. I'm hoping someone here has a solution.
I wrote a theme for my website, which was developed on a subdomain. When the theme was finished, I moved the site files into the primary domain directory, and thus my site -- with the new theme, DB connection, and other files -- went live. Yay!
But now my form block won't successfully send email notifications to me when the form is submitted. I can still go to the Dashboard and see the responses, but I'm getting an error in the logs.
I've tried re-installing concrete 5.4.1.1 and it does not seem to fix the problem. Any thoughts?
The error looks like this:
I wrote a theme for my website, which was developed on a subdomain. When the theme was finished, I moved the site files into the primary domain directory, and thus my site -- with the new theme, DB connection, and other files -- went live. Yay!
But now my form block won't successfully send email notifications to me when the form is submitted. I can still go to the Dashboard and see the responses, but I'm getting an error in the logs.
I've tried re-installing concrete 5.4.1.1 and it does not seem to fix the problem. Any thoughts?
The error looks like this:
Mail Exception Occurred. Unable to send mail: Unable to send mail #0 /home3/webarche/public_html/concrete/libraries/3rdparty/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Sendmail->_sendMail() #1 /home3/webarche/public_html/concrete/libraries/3rdparty/Zend/Mail.php(973): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail)) #2 /home3/webarche/public_html/concrete/helpers/mail.php(227): Zend_Mail->send(NULL) #3 /home3/webarche/public_html/concrete/blocks/form/controller.php(340): MailHelper->sendMail() #4 /home3/webarche/public_html/concrete/models/block.php(283): FormBlockController->action_submit_form() #5 /home3/webarche/public_html/concrete/startup/process.php(223): Block->passThruBlock(Array, Array) #6 /home3/webarche/public_html/concrete/dispatcher.php(235): require('/home3/webarche...') #7 /home3/webarche/public_html/index.php(2): require('/home3/webarche...') #8 {main} Template Used: block_form_submission
that is very odd, I have never seen that before, im not sure what could cause that besides database corruption or something...
UPDATE:
I think I have determined the pattern. This may blow your mind.
The site's domain name is webarcher.com. Obviously, we have email addresses that also use the name webarcher.com. Apparently, if I use an email address that makes use of the domain webarcher.com, it will NOT send the mail. If I use an address with any OTHER domain, the zend mail function will work every time.
I can't believe that.
I think I have determined the pattern. This may blow your mind.
The site's domain name is webarcher.com. Obviously, we have email addresses that also use the name webarcher.com. Apparently, if I use an email address that makes use of the domain webarcher.com, it will NOT send the mail. If I use an address with any OTHER domain, the zend mail function will work every time.
I can't believe that.
I have found that adding a new page, and a new form instance will send email successfully. I'm going to try adding a new page, copy the content and blocks over, deleting the original page with the malfunctioning form, rename the new page, and see what happens.
Still would love to hear any thoughts as to what happened and if there's another fix that's less tedious.