Support » Plugin: WPPizza - A Restaurant Plugin » Erro 10003 – SMTP localhost

  • Resolved elvisgamorim

    (@elvisgamorim)


    Hi!
    I need help, I’m using localhost and when finalizing the request, it shows an error “ERROR: 10003”.
    I will leave here the message that appears:

    ERROR: 10003
    
    EMAIL TO SHOP FAILED: Could not instantiate mail function. | Array
    (
    [type] => 2
    [message] => mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
    [file] => C:\xampp\htdocs\wppizza\wp-includes\PHPMailer\PHPMailer.php
    [line] => 874
    )
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author ollybach

    (@ollybach)

    “Could not instantiate mail function” means you have a mail setup problem on your server.

    You will need to speak to your (mail)server administrator as to what settings you need to send emails from your server. This is nothing I can help you with or indeed anything that the (wppizza) plugin has any control over.

    Thread Starter elvisgamorim

    (@elvisgamorim)

    Hi!
    I understood.
    As I mentioned, I’m on localhost, is there any possibility to end the request on localhost?

    Plugin Author ollybach

    (@ollybach)

    I suppose you could disable email sending (wppizza -> tools -> miscellaneous)

    Alternatively you could not enable the email field on the orderform and not enter any shop email address in wppizza->order settings which would probably have a similar effect (though not checked)

    Plugin Author ollybach

    (@ollybach)

    PS: personally I would install sendmail (or somesuch) on your localhost though in which case none of this will be required and you can test things end to end but that’s your decision of course.

    Plugin Author ollybach

    (@ollybach)

    Marked as resolved due to inactivity

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.