[SOLVED] Cart2Quote & SMTP Pro

whenever a request for quote is submitted the user receives the email but nothing is sent to the email addresses configured in the "Send Quote email copy to" field.

I am using the free version. Please help! I know that I am using the free version but even so it is unusable if I dont get notified that a quote request has been submitted!

Have more questions? Submit a request

12 Comments

  • 0
    Avatar
    PunchOut2Go

    What was the resolution here? We too are using smtp pro and customers are not receiving emails

  • 0
    Avatar
    Jase Clamp

    Did you ever look more into this? I am using SMTP Pro because my hosting company blocks outbound php mail. 

    I have all email templates to simply contain plain text - not even with any variable tags. 

    I can't see the email in the email logs nor is it received or in spam. Can you help with this? 

  • 0
    Avatar
    Vladimir

    Hello, I Have the same Problem, please advice if have some solution

    Thanks a lot! and Have a great Day!

  • 0
    Avatar
    Bram van Dooren

    Thanks Valdimir for your answer.

    Here's also a link to an article about enabling/using SMTP on a localhost:

    http://www.magentocommerce.com/boards/viewthread/1073/P45/

     

    Also, some editors can place returns in a XML file. Check your config.xml file if there are any tags with returns in them.

     

    This is how it should be in a XML file:

    <NODENAME>

                    <SUBNODE> ..... </SUBNODE>

    </NODEDAME>

     

    NOT like this:

    <NODENAME>

                    <SUBNODE> .....

                   </SUBNODE>

    </NODEDAME>

     

    Sometimes when saving, these anoyuing returns are placed inside the XML file.

  • 0
    Avatar
    The Development Team

    Marc can you have a look in to this and place the response/solution in this forum ticket?

  • 0
    Avatar
    Vladimir

    Hello, it took some time to me to figure it out also, finally it Doesn't mater have You installed  SMTP Pro extension or not, here is the sollution:

    • test if Your sendmail is working well:  mail -s "Test subject " youremail@gmail.com -> Enter -> test mesage CTRL+D

    • if No Check : /etc/ssmtp/ssmtp.conf to configure Your sendmail, usualy it is enough to enter just root=..... mailhub=.... hostname=.. rewriteDomain=...;and  FromLineOverride=YES

    • restart sendmail and re-test

    • edit: magento/htdocs/app/code/core/Mage/Core/Model/Email/Template.php

    • find the section : 

    public function getMail()

    _ {_

    _ if (is_null($this->_mail)) {_

    $my_smtp_host = Mage::getStoreConfig('system/smtp/host');

    _ $my_smtp_port = Mage::getStoreConfig('system/smtp/port');_

    _ $config = array(_

    _ //'ssl' => '',_

    _ 'port' => '25',_

    _ //'auth' => 'login',_

    _ //'username' => '',_

    _ // 'password' => ''_

    _ );_

    _ $transport = new Zend_Mail_Transport_Smtp('10.0.0.8', $config);_

    _ Zend_Mail::setDefaultTransport($transport);_

    $this->_mail = new Zend_Mail('utf-8');

    _ }_

    return $this->_mail;

    _ }_

    - Comment //ssl //auth //user //password if not used

    - enter Your smtp server  here : $transport = new Zend_Mail_Transport_Smtp('10.0.0.8', $config);

    the rest is as per documentation of Cart2Quote "cart2quote-user-manual.pdf"

    Have a great Day!

     

     

  • 0
    Avatar
    fernando

    was this ever resolved? I am having the same issue using SMTP pro.

  • 0
    Avatar
    Bram van Dooren

    Replace the following line in: app/code/community/Ophirah/Qquoteadv/Model/Core/Email/Template.php:

    class Ophirah_Qquoteadv_Model_Core_Email_Template extends Mage_Core_Model_Email_Template
    

    For:

    class Ophirah_Qquoteadv_Model_Core_Email_Template extends Aschroder_SMTPPro_Model_Email_Template
    

    That would replace the default send() action from Magento with the one of SMTPPro.

  • 0
    Avatar
    Bram van Dooren

    Hello Fernando,

    Note: See next comment
    It should work out of the box. (We use Magento's send() function, that gets overwritten by SMTPPro so if you have installed SMTPPro we automatically use SMTPPro)

    For debugging purposes we have added email logging, you can enable that in:
    "System>Configuration>Cart2Quote>Quotation>Emails for Quote Requests>Enable email logging"

    Then when the system sends an email, a log entry shall be added to "#magentoRoot#/var/log/c2q_email.log" that gives you more information of where the problem might be.

  • 0
    Avatar
    Bram van Dooren

    Hello Kon,

    Do you use the Zend core functionality for sending emails or do you use an extension like smpt pro?

    Regards,

    Remco

     

  • 0
    Avatar
  • 0
    Avatar
    Bram van Dooren

    Hi PunchOut2Go,

    We have found that there is often a problem with custom e-mail templates created in combination with SMTP Pro.

    Please check that the HTML of your e-mail templates is correct.

    Regards,

    Martijn 

Please sign in to leave a comment.
Powered by Zendesk