aschroder / Magento-SMTP-Pro-Email-Extension

Full SMTP and Gmail/Google Apps Email support for Magento
aschroder.com
335 stars 207 forks source link

Unable to send your request, please try again later!! #189

Open jm111015 opened 7 years ago

jm111015 commented 7 years ago

I 've got this error on my contact us form, and now I can't use my form. My Magento version is 1.9.1.1.

Any help is really appreciated.

Thank you.

ramsampathi commented 6 years ago

i have the same issue in magento 1.9.0.1.Any Solution is there. i am using Aschroder's SMTP pro extension.when its disabled the contact form is working . when its enable the contact form is not submitted and throws an error "Unable to submit your request. Please, try again later".chacked in exception log it shows exception 'Zend_Mail_Protocol_Exception' with message 'Connection timed out' in /home/silvergal/public_html/lib/Zend/Mail/Protocol/Abstract.php:277

adarshkhatri commented 6 years ago

Contact form works when this module is disabled.

But when enabled, all email (order, invoice etc) are sent as well as TEST EMAIL, but not contact form.

Checked log, no error. Keeps saying Unable to submit your request. Please, try again later

Just updated the extension today to it's latest version.

adarshkhatri commented 6 years ago

Alright, have debugged and found that one new line that I had added for "REPLY TO" was causing the issue for contact us form to work. I had to add this code since sender email is always set as "Gmail" email ID which is used to authenticate in Email Connection. #216

I had to add like this

if(Mage::getDesign()->getArea() == 'adminhtml'){ //only can set if email sending from backend
            $mail->setReplyTo($this->getSenderEmail(), $this->getSenderName());
        }