Magento Expert Forum - Improve your Magento experience

Page 1 of 2 12 LastLast
Results 1 to 20 of 22

Magento SMTP setup in easiest way

  1. #1
    Junior Member Pablo's Avatar
    Join Date
    Sep 2013
    Posts
    13
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question Magento SMTP setup in easiest way

    I want to get Magento SMTP setup in easiest way not from default php mailer of my hosting since it always run into spam box. Any idea how to make it really simple? Thanks

    View more threads in the same category:


  2. #2
    Junior Member jaredovi's Avatar
    Join Date
    Mar 2013
    Posts
    70
    Thanks
    2
    Thanked 11 Times in 8 Posts

    Thumbs up

    You can install magento SMTP module http://www.magentocommerce.com/magen...mtp-email.html

    But in easiest way, I believe you will like to edit code if you are developer. Let 's open this file

    Code:
    app/code/core/Mage/core/Model/Email/Template.php
    Then edit the method getMail() with this code

    PHP Code:
    public function getMail()   
          {
               if (
    is_null($this->_mail)) {               
                 $&
    #65279;config = array(
                           
    'port' => 25,                                              
                           
    'auth' => 'login',                   
                           
    'username' => '[email protected]'
                           &
    #65279;'password' => 'yourpassword'                                               );
                
    $transport = new Zend_Mail_Transport_Smtp('your-smtp-host'$config);
                
    Zend_Mail::setDefaultTransport($transport);
                
    $this->_mail = new Zend_Mail('utf-8');
            }
            return 
    $this->_mail;  
    &
    #65279;} 
    Now enter your smtp credential into the code and check if it work.
    Good luck!

  3. #3
    New member
    Join Date
    Jul 2014
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Pablo View Post
    I want to get Magento SMTP setup in easiest way not from default php mailer of my hosting since it always run into spam box. Any idea how to make it really simple? Thanks
    You can use this extension : http://store.lotusbreath.com/lotusbr...mtp-email.html

  4. #4
    Moderator speed2x's Avatar
    Join Date
    Mar 2013
    Location
    Hollywood, Florida, United States
    Posts
    88
    Thanks
    8
    Thanked 7 Times in 6 Posts

    Default

    It 's easy task, you guys can try this tutorial for solve your issue about SMTP Magento SMTP Email Setup

  5. #5
    Junior Member ccvv's Avatar
    Join Date
    Mar 2013
    Posts
    64
    Thanks
    6
    Thanked 17 Times in 13 Posts

    Default

    It 's very easy to set up, it saved me a lot of time. Thanks jaredovi. I always like to edit core to keep the best performance

  6. #6
    Junior Member bond's Avatar
    Join Date
    Jun 2013
    Posts
    13
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jaredovi View Post
    You can install magento SMTP module http://www.magentocommerce.com/magen...mtp-email.html

    But in easiest way, I believe you will like to edit code if you are developer. Let 's open this file

    Code:
    app/code/core/Mage/core/Model/Email/Template.php
    Then edit the method getMail() with this code

    PHP Code:
    public function getMail()   
          {
               if (
    is_null($this->_mail)) {               
                 $&
    #65279;config = array(
                           
    'port' => 25,                                              
                           
    'auth' => 'login',                   
                           
    'username' => '[email protected]'
                           &
    #65279;'password' => 'yourpassword'                                               );
                
    $transport = new Zend_Mail_Transport_Smtp('your-smtp-host'$config);
                
    Zend_Mail::setDefaultTransport($transport);
                
    $this->_mail = new Zend_Mail('utf-8');
            }
            return 
    $this->_mail;  
    &
    #65279;} 
    Now enter your smtp credential into the code and check if it work.
    Good luck!
    The site return blank page after I edit the code in
    Code:
    app/code/core/Mage/core/Model/Email/Template.php
    . Please help!!!

  7. #7
    New member
    Join Date
    Jun 2013
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    It 's easier a lot than what I think, that 's a great share to solve the email problem for magento. Thanks guys

  8. #8
    New member
    Join Date
    Sep 2013
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    As always, I like to edit the core file Template.php to make system work with the best performance. Nice to know!

  9. #9
    Junior Member curtis's Avatar
    Join Date
    Jun 2013
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I install the extension but when I access the menu in configuration page, it show me the page not found??? What happen here and how can I fix it?

  10. #10
    New member conway's Avatar
    Join Date
    Jun 2013
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by curtis View Post
    I install the extension but when I access the menu in configuration page, it show me the page not found??? What happen here and how can I fix it?
    Just need to clear cache and logout then login again you will see the magic .

  11. #11
    Junior Member curtis's Avatar
    Join Date
    Jun 2013
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You are right, it work nice now. Thanks!
    Quote Originally Posted by conway View Post
    Just need to clear cache and logout then login again you will see the magic .

  12. #12
    Junior Member byron's Avatar
    Join Date
    Jun 2013
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Cool, it work nice for me

  13. #13
    Junior Member
    Join Date
    Dec 2014
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Can't believe SMTP in magento can be easy like that . That 's cool help. Thanks jaredovi

  14. #14

  15. #15
    New member
    Join Date
    Feb 2018
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jaredovi View Post
    You can install magento SMTP module http://www.magentocommerce.com/magen...mtp-email.html

    But in easiest way, I believe you will like to edit code if you are developer. Let 's open this file happy wheels

    Code:
    app/code/core/Mage/core/Model/Email/Template.php
    Then edit the method getMail() with this code

    PHP Code:
    public function getMail()   
          {
               if (
    is_null($this->_mail)) {               
                 $&
    #65279;config = array( 
                           
    'port' => 25,                                              
                           
    'auth' => 'login',                   
                           
    'username' => '[email protected]'
                           &
    #65279;'password' => 'yourpassword'                                               );
                
    $transport = new Zend_Mail_Transport_Smtp('your-smtp-host'$config);
                
    Zend_Mail::setDefaultTransport($transport);
                
    $this->_mail = new Zend_Mail('utf-8');
            }
            return 
    $this->_mail;  
    &
    #65279;} 
    Now enter your smtp credential into the code and check if it work.
    Good luck!
    It 's easy task, you guys can try this tutorial for solve your issue about SMTP Magento SMTP Email Setup

  16. #16
    New member hpprinterhelp's Avatar
    Join Date
    Feb 2018
    Location
    22 main street stockton california usa
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You may require Technical support on your HP Printer machines anytime. Our experts are always available to offer seamless Support at HP Printer Technical support Number 1-800-513-4593. Give us call now and get support by our professionals.

    hp printer helpline number

    HP Printer Contact Support Number


    hp printer customer service number

    hp printer technical support number

  17. #17
    New member
    Join Date
    Feb 2018
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I like to edit the core file Template.php to make system work with the best performance.

    project outsourcing consultants

  18. #18
    Junior Member
    Join Date
    Jan 2018
    Location
    New York
    Posts
    68
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank all people's infomation

  19. #19
    New member
    Join Date
    Mar 2017
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    When utilizing the expansion doesn't attract youpersonally, you might install SMTP accessibility for anti inflammatory by hand:
    In the anti virus Admin Panel, click on System > Setup (Figure 1 ) ). ...
    Scroll right down into the advanced level sub menu, click Program (Figure 2). ...
    In the machine portion, simply click Mail delivering Preferences (Figure 3).

  20. #20
    Junior Member
    Join Date
    Jun 2018
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thanks for sharing with us

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •