Code Monkey home page Code Monkey logo

magento-smtp-pro-email-extension's Introduction

Magento 1 SMTP Pro Extension by Ashley Schroder (aschroder.com)

  • Free and Opensource email extension for Magento 1.x
  • Easily send Magento transactional emails via Google Apps, Gmail, Amazon SES or your own SMTP server
  • Test your configuration from the Magento admin
  • View a log of all emails
  • Improve deliverability with an external SMTP server

Contributors

FAQ

Q: It's not working A: Check for extension conflicts, and check that your host allows outbound SMTP traffic.

Q: Does it work with the Mailchimp extension A: Yes, see: http://www.aschroder.com/2011/09/using-smtp-pro-and-ebizmarts-mailchimp-extension-in-magento/.

Q: How do I install it manually A: See: http://www.aschroder.com/2010/05/installing-a-magento-extension-manually-via-ftp-or-ssh/ or use modman.

Q: Self test is failing with "Exception message was: Unable to connect via TLS" A: Check that you have OpenSSL installed for your PHP environment.

Q: Self test is failing with messages like: "can not open connection to the host, on port 587" or "Connection timed out". A: Check that you have the SMTP server host and port correct, if you do - then check with your webhost, many block SMTP connections due to spam. If that's the case, there are plenty of expert Magento hosts on display at magespeedtest.com.

Q: Self test is failing with "Exception message was: 5.7.1 Username and Password not accepted. Learn more at 5.7.1..." A: It's actually good advice to learn more here: http://support.google.com/mail/bin/answer.py?answer=14257. But two things to check:

  1. that you are really 110% sure you have the right username and password (test it on gmail.com)
  2. If that does work, then Google may have blocked your server IP due to too many wrong passwords. You need to log in to gmail.com from that IP - in order to answer the captcha and allow the IP through again. There's a few ways to do that - SOCKS proxy, X forward a browser, use Lynx.

Q: I am getting a Subject set twice error A: This happens sometimes, typically if it is happening it would also be happening in core Magento. There is a Pull Request here that includes a work around thanks to Rafael Kassner.

magento-smtp-pro-email-extension's People

Contributors

andrewkett avatar andrey-legayev avatar aschroder avatar atty31 avatar aymencis avatar borriglione avatar ckressibucher avatar davidwindell avatar erenkarayigit avatar fooman avatar hans2103 avatar idziakjakub avatar ihor-sviziev avatar indrisepos avatar jhoon avatar jonpday avatar justinelst avatar kalenjordan avatar lars85 avatar maximehuran avatar nhp avatar nleduc avatar norgeindian avatar quafzi avatar samir-jorge-araujo avatar samuelecarpene avatar sandermangel avatar victorivanovspb avatar will-b avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

magento-smtp-pro-email-extension's Issues

Feature request: change "run test" recipient

IT wuld be great if you could set a recipient for the run test email manually. Actually I don't want in production to send e-mail to the customer, just as an admin test the connection.

Error when search by email

When you go to the log of emails sent, and try to filter by email, you get an error. Must clear browser cache/sessions to escape. Plus you can search for emails.

TLS Connection Problem

Recently while using AWS SES through smtp, I started getting this.

stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number)

Any clues?

Transports/0.php

When attempting to install version 2.0 of SMTP-Pro-Email-Extension I receive the following errors.

2014-05-01T18:05:26+00:00 ERR (3): Warning: include(Aschroder/SMTPPro/Model/Transports/0.php): failed to open stream: No such file or directory in /opt/local/share/httpd/htdocs/lib/Varien/Autoload.php on line 93
2014-05-01T18:05:26+00:00 ERR (3): Warning: include(): Failed opening 'Aschroder/SMTPPro/Model/Transports/0.php' for inclusion (include_path='/opt/local/share/httpd/htdocs/app/code/local:/opt/local/share/httpd/htdocs/app/code/community:/opt/local/share/httpd/htdocs/app/code/core:/opt/local/share/httpd/htdocs/lib:.:/opt/local/lib/php') in /opt/local/share/httpd/htdocs/lib/Varien/Autoload.php on line 93.

Do you have any thoughts on how to resolve that?

Send mail to friend fail exception fail

Hello, I installed and configured the module in magento with AWS SES.
Everything works except sending email to a friend. In the shop I have the option send email to a friend, however stmp pro fails.

In var / log in exception.log Email address is not verified. </ Message>.

I do not know how to change the sender with that sender mail certificate in AWS SES.

exception.log

2014-07-30T10: 39:42 +00:00 ERR (3):
exception 'Exception' with message '
  
     Sender </ Type>
     MessageRejected </ code>
     Email address is not verified. </ Message>
   </ Error>
   D061552c-17d5-11e4-960F-a33c425613f5 </ RequestId>
</ ErrorResponse>
'/ Usr / share / nginx / html / app / code / local / Aschroder / SMTPPro / lib / AmazonSES.php: 108
Stack trace:

bug in Email Template "Product Alert"

Good morning,

Magento 1.7.0.2 / SMTP Pro Email 2.0.3

First thanks for the free extension.

Excellent module, but so far has not been solved a long-standing problem.

The only problem I find in this module is the error in email template for "Product Alert".

Seems to work fine the module, use the module a long time, since the old version SmtpPRO.

There is a bug in the Email Template.

The error has been around since the old version of the module SmtpPRO and still remains.

Is there any problem in Email Template for the scheduled task Cron “Product Alert”.


2014-06-08T06:30:07+00:00 ERR (3):
exception 'Exception' with message 'This letter cannot be sent.' in /home/xxxxxxx/public_html/app/code/local/Aschroder/SMTPPro/Model/Email/Template.php:40
Stack trace:
#0 /home/xxxxxxx/public_html/app/code/core/Mage/Core/Model/Email/Template.php(506): Aschroder_SMTPPro_Model_Email_Template->send('xxxxxxxxxx@ho...', 'XXXNome-ClienteXXX', Array)
#1 /home/xxxxxxx/public_html/app/code/core/Mage/ProductAlert/Model/Email.php(294): Mage_Core_Model_Email_Template->sendTransactional('catalog_product...', 'general', 'xxxxxxxxxx@ho...', 'XXXNome-ClienteXXX', Array)
#2 /home/xxxxxxx/public_html/app/code/core/Mage/ProductAlert/Model/Observer.php(174): Mage_ProductAlert_Model_Email->send()
#3 /home/xxxxxxx/public_html/app/code/core/Mage/ProductAlert/Model/Observer.php(317): Mage_ProductAlert_Model_Observer->_processPrice(Object(Mage_ProductAlert_Model_Email))
#4 [internal function]: Mage_ProductAlert_Model_Observer->process(Object(Mage_Cron_Model_Schedule))
#5 /home/xxxxxxx/public_html/app/code/core/Mage/Cron/Model/Observer.php(115): call_user_func_array(Array, Array)
#6 /home/xxxxxxx/public_html/app/code/core/Mage/Core/Model/App.php(1338): Mage_Cron_Model_Observer->dispatch(Object(Varien_Event_Observer))
#7 /home/xxxxxxx/public_html/app/code/core/Mage/Core/Model/App.php(1317): Mage_Core_Model_App->_callObserverMethod(Object(Mage_Cron_Model_Observer), 'dispatch', Object(Varien_Event_Observer))
#8 /home/xxxxxxx/public_html/app/Mage.php(447): Mage_Core_Model_App->dispatchEvent('default', Array)
#9 /home/xxxxxxx/public_html/cron.php(46): Mage::dispatchEvent('default')
#10 {main}

wrong link back to email log

There is a "back to email log" link on system->tools->email logs->detail page but when i click, it says page not found (404)

Catch invalid username and password in test mail

This is showed in var/log/exception.log if you use bad username or password in Google Apps, so Zend_Mail_Protocol_Exception should catched

2014-11-10T06:28:18+00:00 ERR (3): 
exception 'Zend_Mail_Protocol_Exception' with message '5.7.8 Username and Password not accepted. Learn more at
 5.7.8 http://support.google.com/mail/bin/answer.py?answer=14257 g3sm6539371qaq.35 - gsmtp
' in /var/www/html/lib/Zend/Mail/Protocol/Abstract.php:431
Stack trace:
#0 /var/www/html/lib/Zend/Mail/Protocol/Smtp/Auth/Login.php(95): Zend_Mail_Protocol_Abstract->_expect(235)
#1 /var/www/html/lib/Zend/Mail/Protocol/Smtp.php(217): Zend_Mail_Protocol_Smtp_Auth_Login->auth()
#2 /var/www/html/lib/Zend/Mail/Transport/Smtp.php(200): Zend_Mail_Protocol_Smtp->helo('localhost')
#3 /var/www/html/lib/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Smtp->_sendMail()
#4 /var/www/html/lib/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
#5 /var/www/html/app/code/local/Aschroder/SMTPPro/Model/Email/Template.php(106): Zend_Mail->send(Object(Zend_Mail_Transport_Smtp))
#6 /var/www/html/app/code/core/Mage/Core/Model/Email/Template.php(506): Aschroder_SMTPPro_Model_Email_Template->send(Array, Array, Array)
#7 /var/www/html/app/code/core/Mage/Core/Model/Email/Template/Mailer.php(79): Mage_Core_Model_Email_Template->sendTransactional('15', 'general', Array, Array, Array, '5')
#8 /var/www/html/app/code/core/Mage/Customer/Model/Customer.php(676): Mage_Core_Model_Email_Template_Mailer->send()
#9 /var/www/html/app/code/core/Mage/Customer/Model/Customer.php(603): Mage_Customer_Model_Customer->_sendEmailTemplate('customer/create...', 'customer/create...', Array, '5')

Class not found...

Hi.

I'm trying to install SMTP Pro on a local magento installation.
I tried it via magneto connect and manually and always get following error:
Class 'Aschroder_SMTPPro_Model_Mysql4_Setup' not found in /includes/src/Mage_Core_Model_Resource_Setup.php on line 234

Any idea, what that could be?

Thanks,
Sean.

Make the configuration more clear

Magento has a nice method to hide fields depending on the value of another field. It would be great (especially with the SMTP section) if it would only show the needed fields.

There is a functionality that allows us to show the fields:

<depends><other_field separator=",">value1,value2</other_field></depends>

I can implement this my self, but I currently lack the SMTP knowledge (hence the need for this) to know what fields to use:

Login settings

  • None: hide the username/password
  • Login: hide nothing
  • Plain: ??
  • CRAM-MD5: ??

Before I start working on implementing this, can you please accept my pullrequest made earlier, or update the repository with the latest version so I can make clean pull?

Surpress all email sent to specific addresses

Hello there,

How can I surpress the send action for certain emails?

There's a list of hard bounces that comes from security testing software, thats causing problems with aws ses bounce rate.

I need to know where should I modify the extension to not send to a specific or list of emails.

thx.

composer package name

Hi Ashley,

I'm attempting to install this package via composer. The composer.json file specifies the package name as "aschroder/smtp_pro" and I've included this git url as a repository in my project's composer.json. I'm, however, getting this error:

The requested package aschroder/smtp_pro could not be found in any version, there may be a typo in the package name.

Problem to use Transport Google Apps / Gmail

In class Aschroder_SMTPPro_Model_Transports_Basesmtp:

This code below, sets the username with $name, but the correct is $email

    if ($auth != "none") {
        $config['auth'] = $auth;
        $config['username'] = $name;
        $config['password'] = $password;
    }

I change this to, and works for me

    if ($auth != "none") {
        $config['auth'] = $auth;
        $config['username'] = $email;
        $config['password'] = $password;
    }

create tags, so composer recognice versions

you have versions, but you have no tags as far as i see.

Composer generates the version definitions from tags in a github repository, so please add at least one tag for the most recent version.

Thank you very much.

Trim E-Mail Log

Hi,
I'd like to trim the SMTP Pro E-Mail Log.

Is it okay if i just empty the DB table?

best regards

1.7 compatibility issue

in Aschroder_SMTPPro_Model_Email_Template it doesn't handle the $name variable correctly, in some scenarios it's sent in as an array which isn't handled in your file but is in the core file. For example if you try to send tracking info from a shipment in Magento 1.7 you should see the issue.

Thanks to Josh @wsa for the heads up.

stream_socket_enable_crypto not supported under hhvm

facebook/hhvm#1647

This makes it impossible to send TLS/SSL email using SMTP Pro when using HHVM on the server. Not sure if it's possible but maybe something else could be used instead?

A test could be added to the Self Test to see if the function exists on the server to at least inform the user SSL/TLS will not be possible.

SMTP username + pw autofilled with magento username + pw (safari)

When using safari and saving the magento username + pw, the SMTP-Pro SMTP username and pw get replaced.
It's then easy to accidentally break the smtp connection, when you want to save other settings. (which happened to me.. And yes - the fields are yellow, so I should have noticed. ;))

I now erased the magento username + pw from my keychain - that solves it... but I guess changing the names of the SMTP username + pw fields would be a proper fix.. no?

Sean.

screen shot 2014-10-21 at 12 24 34

'This letter cannot be sent.' Error

I have your latest version of SMTP Pro downloaded. I recently uninstalled MageMonkey because it was interfering with transactional emails. Now, when I run a self test, everything works fine. However, when a new customer registers, they no longer get sent the confirmation email. (I had no problems with this before my initial download of MageMonkey.)

In exception.log I get:

exception 'Exception' with message 'This letter cannot be sent.' in /var/www/app/code/local/Aschroder/SMTPPro/Model/Email/Template.php:40
Stack trace:
#0 /var/www/app/code/core/Mage/Core/Model/Email/Template.php(506): Aschroder_SMTPPro_Model_Email_Template->send('pgilbert@nutisp...', 'Penina Gilbert', Array)
#1 /var/www/app/code/local/MagePsycho/Loginredirectpro/Model/Customer.php(51): Mage_Core_Model_Email_Template->sendTransactional('1', 'customer_regist...', 'pgilbert@nutisp...', 'Penina Gilbert', Array)
#2 /var/www/app/code/local/MagePsycho/Loginredirectpro/controllers/AccountController.php(71): MagePsycho_Loginredirectpro_Model_Customer->sendNewAccountEmail('registered')
#3 /var/www/app/code/core/Mage/Customer/controllers/AccountController.php(337): MagePsycho_Loginredirectpro_AccountController->_welcomeCustomer(Object(MagePsycho_Loginredirectpro_Model_Customer))
#4 /var/www/app/code/core/Mage/Customer/controllers/AccountController.php(288): Mage_Customer_AccountController->_successProcessRegistration(Object(MagePsycho_Loginredirectpro_Model_Customer))
#5 /var/www/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Customer_AccountController->createPostAction()
#6 /var/www/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('createpost')
#7 /var/www/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#8 /var/www/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#9 /var/www/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#10 /var/www/index.php(87): Mage::run('', 'store')
#11 {main}

In aschroder_smtppro.log I get:

DEBUG (7): Using Custom SMTP Transport.
DEBUG (7): Email is not valid for sending, this is a core error that often means there's a problem with your email templates.

And in Magento's backend on the Manage Customers page I get:

An error occured while rewriting "monkey/adminhtml_customer_edit_tab_memberactivity" : "The original class "Mage_Monkey_Block_Adminhtml_Customer_Edit_Tab_Memberactivity" does not exist" (rewriter: "eval")

Error 404 when running test

Running Magento ver. 1.8.1.0 and just installed ASchroder_SMTPPro 2.0.2 (stable) still facing the 404 error when running a test for Gmail account.

All works fine on the same server with another account with ASchroder_SMTPPro 1.4.3 (stable) on Magento ver. 1.8.1.0 - with 'usual erros' - but it does work: copies of sent item appear in GMail.

Note: No extra extension like MailChimp etc installed.

Contact Form test email did not use SMTPPro to send

Hi guys,

I just installed this module on a new Magento. This triggers the following :

ASchroder.com SMTP Pro Self-test results
Testing outbound connectivity to Server:
Using SMTP configuration options
Connection to Host SMTP server successful.
Sending test email to your contact form address [email protected]:
Test email was sent successfully.
Contact Form test email did not use SMTPPro to send.
Testing failed, please review the reported problems and if you need further help visit ASchroder.com to contact me.

The searches i've made seems to lead to a conflicting module but I couldn't find any.

Any idea?

Gaëtan

Errors if config has not been saved

This only occurs when the config for the module has not been saved.

Fatal error: Call to a member function getTransport() on a non-object in app/code/local/Aschroder/SMTPPro/Helper/Data.php on line 21

'Exception' with message 'Warning: include(Aschroder/SMTPPro/Model/Transports/0.php): failed to open stream: No such file or directory in .../lib/Varien/Autoload.php on line 93' in .../app/code/core/Mage/Core/functions.php:245

should <option>0</option> be <option>disabled</option> in config.xml ?

error after install

hi,

after i install the extension
i go to system>config>ASCHRODER EXTENSIONS SMTP Pro
display a error as below

404 Error

Page not found.

Unirgy Dropship compatibility

I have reported this to Unirgy as well but on their dropship module code
Line 1155 - app/code/community/Unirgy/Dropship/Helper/Data.php(1155): if (!empty($smtppro) && $smtppro->isReplyToStoreEmail()) {

They expect isReplyToStoreEmail() public method which is no longer available in your module. You may want to coordinate with Unirgy on this issue since I believe a lot of people using both your code and their code.

Gmail socket connection issues

Since this particular error/exception message is not mentioned in your FAQ/troubleshooting texts explicitly (or I haven't found it) and this shouldn't be considered a SMTP server configuration (I think) this might be something anyone can help this blatantly ignorant email user (my Arch boxes typically lack email setup because that whole jungle of sendmail, smtp, dovecot, agents, servers aliases and other mumbojumbo typically confuses the hell out of me.

So if someone tells me I'm stupid because I appearantly lack a) permissions b) prerequisite libraries c) haven't configured X or Y which would explain this, I'm ready to learn more on things I should check to debug this.

image

Blank white page (php error?) after install

Hi,

I just downloaded and installed your SMTP pro extension via FTP and now I am getting a blank white page on admin backend or on the main site pages...

Wondering if there is some extension in my php ini I need to change or something but I've tried 3 different times installing via FTP since I couldn't figure out how to use modman or composer and still haven't gotten anywhere.

Checking of rewrites

I came across an issue with the module flagging that there was an error but it didn't tell me what the error was. I nailed the issue, it was a module overwriting the Template model.

This is what I received below:

SMTP Pro Self Test Results
Sending test email to your contact form address: *** from: ***
Test email was sent successfully.
Default templates exist.
Email communications are enabled.
Required database tables exist.
Testing failed, please review the reported problems and if you need further help visit the support page or contact me via [email protected] for support.

Wishlist features

I'll use this Issue to collect the various missing feature requests. Starting with...

From Sean:

  • The ability log emails without smtp (turn on the extension, but do not utilize SMTP, and DO log)
  • Embedded Images to avoid mail client warning
  • Automatic Text version generation

(Like: http://www.mageext.com/magento-enhanced-mail-smtp/)

  • Sending test emails from transactional email backend

Apparently they want to integrate

http://www.magentocommerce.com/magento-connect/magentron-emailimages.html

SMTPPro grid -> query email log for [email protected] exception

You query the email log grid for an email address you will cause an exception. I would expect everyone to have hit this problem at some point, but maybe they are not taking the time to report it.

It seems the issue is that the query is passed as a part of the request. It is likely encoded using url encoding. On the server when grid pulls the string from the request it does a base64decode(). this results in ‘[email protected]’ getting converted to ‘info%40foo.com’. info%40foo.com causes the sql statement to throw an exception.

This problem is made a bit worse because the query is then cached, so the page remains crashed until you delete your magento cache, which point it starts working again.

(reported by Brad R)

getting 404 not found after install

I'm running Magento 1.8.1

I just installed master, copied app to the app directory, cleared cache, logged out/in.

When I click System -> Config -> ASCHRODER EXTENSIONS -> SMTP Pro

It takes me to a page with the top menu and the left menu only has the "configuration scope" dropdown. And the content is "404 error page not found". I can get to the log though.

Any idea?

#47 When Register we get that Error

Fatal error: Call to a member function getTransport() on a non-object in /opt/lampp/htdocs/app/code/local/Aschroder/SMTPPro/Helper/Data.php on line 21

smtpproissue

Patch from Mark E

"I had to patch your code, however, since our SMTP server config requires that the sender from address matches the smtp username when using SMTP auth. Your unpatched code sets the from address to [email protected]. The end result is that the test messages triggered from the SMTPPro admin panel result in errors returned by the server (5.7.1 error if I recall). I’m attaching a patch that adds two fields to the configuration: Test Email From and Test Email ReplyTo. Three files are modified."
-Mark Eissler

Patch follows:

--- old/app/code/community/Aschroder/SMTPPro/controllers/IndexController.php Mon Apr 02 18:17:34 2012
+++ new/app/code/community/Aschroder/SMTPPro/controllers/IndexController.php Mon Apr 02 18:54:49 2012
@@ -77,6 +77,9 @@

    $to = Mage::getStoreConfig('contacts/email/recipient_email', $websiteModel->getId());
  •   $test_from = Mage::helper('smtppro')->getTestEmailFrom();
    
  •   if(!isset($test_from) || strlen($test_from) == 0) $test_from = "[email protected]";
    
    • $mail = new Zend_Mail();
      $sub = "Test Email From ASchroder.com SMTP Pro Module";
      $body =
      @@ -88,7 +91,7 @@
      "Regards,\nAshley";
        $mail->addTo($to)
    
  •           ->setFrom("[email protected]")
    
  •           ->setFrom($test_from)
            ->setSubject($sub)
            ->setBodyText($body);
    

@@ -166,8 +169,11 @@

    include Mage::getBaseDir() . '/app/code/core/Mage/Contacts/controllers/IndexController.php';
  •   $test_replyto = Mage::helper('smtppro')->getTestEmailReplyTo();
    
  •   if(!isset($test_replyto) || strlen($test_replyto) == 0) $test_replyto = $postObject->getEmail();
    
    • $mailTemplate->setDesignConfig(array('area' => 'frontend'))
  •       ->setReplyTo($postObject->getEmail())
    
  •       ->setReplyTo($test_replyto)
        ->sendTransactional(
            Mage::getStoreConfig(Mage_Contacts_IndexController::XML_PATH_EMAIL_TEMPLATE),
            Mage::getStoreConfig(Mage_Contacts_IndexController::XML_PATH_EMAIL_SENDER),
    

--- old/app/code/community/Aschroder/SMTPPro/etc/system.xml Sat Mar 19 21:24:33 2011
+++ new/app/code/community/Aschroder/SMTPPro/etc/system.xml Mon Apr 02 18:01:28 2012
@@ -51,6 +51,24 @@
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>

  •                            <test_email_from translate="label comment">
    
  •                                <comment>The From field for test messages will be set to this value. If SMTP authentication is turned on, you may need to set this value to match the SMTP username.</comment>
    
  •                                <label>Test Sender Email Address</label>
    
  •                                <frontend_type>text</frontend_type>
    
  •                                <sort_order>18</sort_order>
    
  •                                <show_in_default>1</show_in_default>
    
  •                                <show_in_website>0</show_in_website>
    
  •                                <show_in_store>0</show_in_store>
    
  •                            </test_email_from>
    
  •                            <test_email_replyto translate="label comment">
    
  •                                <comment>The Reply-To field for test messages will be set to this value.</comment>
    
  •                                <label>Test Reply-To Email Address</label>
    
  •                                <frontend_type>text</frontend_type>
    
  •                                <sort_order>19</sort_order>
    
  •                                <show_in_default>1</show_in_default>
    
  •                                <show_in_website>0</show_in_website>
    
  •                                <show_in_store>0</show_in_store>
    
  •                            </test_email_replyto>
                             <test translate="label comment">
                                     <comment>This test will ensure the configuration in your Google Apps/ Gmail OR SMTP section are working. You have to save the settings from either of these sections before running this test.</comment>
                                    <frontend_type>select</frontend_type>
    

--- old/app/code/community/Aschroder/SMTPPro/Helper/Data.php Sat Mar 19 21:24:33 2011
+++ new/app/code/community/Aschroder/SMTPPro/Helper/Data.php Mon Apr 02 18:06:16 2012
@@ -27,6 +27,14 @@
return Mage::getStoreConfig('system/smtppro/development');
}

  • public function getTestEmailFrom() {
  •    return Mage::getStoreConfig('system/smtppro/test_email_from');
    
  • }
  • public function getTestEmailReplyTo() {
  •    return Mage::getStoreConfig('system/smtppro/test_email_replyto');
    
  • }

public function getGoogleApps() {
return Mage::getStoreConfig('system/smtppro/option') == "google";
}

Trim input for Host parameter

if I set "General Settings, Host" parameter to hostname of the Mailup SMTP Server with a space (for example 'in.smtpok.com '), it occurs an error.
Thanks
Best Regards
IR

Got blank page on Run Self Test

I got blank page when pressing "Run Self Test"

Configuring using "Google apps or Gmail"
my email is using @gmail.com

Try to make test order but no email coming to inbox

Magento 1.5.0.1

Unable to Test ! Facing this issue ?

SMTP Pro Self Test Results
Sending test email to your contact form address: [email protected] from: [email protected] Unable to send test email.
Exception message was: Connection refused
Please check the user guide for frequent error messages and their solutions.
Default templates exist.
Email communications are enabled.

Testing failed, please review the reported problems and if you need further help visit the support page or contact me via [email protected] for support.

I'm a newbee ! Have just installed your extension from Magentocommerce. And This are my settings : http://prntscr.com/3vx37j

Please let me know where I got wrong !

Modman file error (wrong path)

Modman file contains a reference to what ends up locally at ../vendor/aschroder/smtp_pro/**code**/app/... The code part of the path is not reflected in the actual file hierarchy in the project hence it fails to initially detect the module xml file in app/etc. Creating either code as a folder and moving app inside or modifying the modman file resolves this issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.