Results 1 to 9 of 9
  1. #1
    Join Date
    Sep 2010
    Location
    SF Bay Area
    Posts
    54
    Plugin Contributions
    0

    Default Email Error: Could not instantiate mail function.

    I am not sure if this is the right location for this thread. But I am running Zen Cart on my PC using localhost. When I try to login as a user to test the buying experieince I get the following error:

    Email Error: Could not instantiate mail function. Please check Admin->Configuration->Email Options->Email Transport.

    Even though my Email transport method under Configuration is PHP.

    Any help, thanks.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Email Error: Could not instantiate mail function.

    Your localhost PC almost certainly has no mailserver engine on it. And, since you won't be running a real live store from it, it's better that you turn off email functionality ("Enable Email" = False) until you actually put your site on a real webserver that's capable of email.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Sep 2010
    Location
    SF Bay Area
    Posts
    54
    Plugin Contributions
    0

    Default Re: Email Error: Could not instantiate mail function.

    Great, will do that. So then how do I test checkout a product from my store on localhost?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Email Error: Could not instantiate mail function.

    Um ... add it to your cart and go through checkout.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Sep 2010
    Location
    SF Bay Area
    Posts
    54
    Plugin Contributions
    0

    Default Re: Email Error: Could not instantiate mail function.

    Thanks, Dr Byte for helping me.

    So when I try to login using my site login, Paypal Checkout or even register a new account I get the sane message. I know this has to do with some settings to make the localhost work, just don't know which one because it works when the site is live.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Email Error: Could not instantiate mail function.

    What message? If it's telling you about a problem sending emails, then you've still not turned off emailing as I mentioned earlier.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Jun 2010
    Location
    Copenhagen, Danmark
    Posts
    464
    Plugin Contributions
    7

    Default Re: Email Error: Could not instantiate mail function.

    Quote Originally Posted by zc_fan View Post
    I am not sure if this is the right location for this thread. But I am running Zen Cart on my PC using localhost. When I try to login as a user to test the buying experieince I get the following error:

    Email Error: Could not instantiate mail function. Please check Admin->Configuration->Email Options->Email Transport.

    Even though my Email transport method under Configuration is PHP.

    Any help, thanks.
    It might be caused by a missing mailserver.

    I use smtp4dev (just google it) which is a low-weight, easy to install stmp server for development on windows

    cord

  8. #8
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Email Error: Could not instantiate mail function.

    I thought that's what I said already.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Email Error: Could not instantiate mail function.


 

 

Similar Threads

  1. Email Error: Could not instantiate mail function.
    By godin5150 in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 12 Nov 2011, 09:53 PM
  2. Email Error: Could not instantiate mail function
    By TheMusician in forum General Questions
    Replies: 9
    Last Post: 26 May 2010, 10:51 AM
  3. Email Error: Could not instantiate mail function
    By Kami123 in forum General Questions
    Replies: 2
    Last Post: 7 Oct 2009, 07:33 PM
  4. Email Error: Could not instantiate mail function
    By flashmxfreak in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Jun 2009, 06:39 PM
  5. EMAIL ERROR: Could not instantiate mail function
    By beautifulminds-us in forum Managing Customers and Orders
    Replies: 4
    Last Post: 23 Jul 2007, 03:44 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR