May 22, 20197 yr Hello, I try to send email but I don't receive anything, do you have any idea about that ?
May 22, 20197 yr Hi @Engy, Do you look the best and trips forum, I wrote a little post about this problem. Sendmail has a restriction by your hoster, you must use gmail or your own smtp. Look and tell me if you have a problem.
May 22, 20197 yr I am looked more information about that and find a technical information It can help you why you have a problem : Quote When you use PHP's mail() function (what PHPMailer uses by default), it opens a shell and calls a sendmail binary (a client program for submitting email messages from a command line) belonging to your local mail server. If you don't have a local mail server, it can't work, and you get the error you're seeing. You could get the same error if there is a mail server, but you don't have permission to run sendmail. You need to do one of: Install a mail server (such as postfix) Talk to a local server via SMTP (which will not be subject to permissions issues in the same way that mail() is) Use SMTP to send through a remote mail server, either your ISP's or some other server such as gmail (if your ISP allows outbound SMTP).
May 22, 20197 yr Note to continue the discussion : To see what's happen, you can make a test like that. Go to ClicShopping/OM/Mail.php change protected $debug = 0; by protected $debug = 2; After this line : add exit; and to finish send an email and see the result.
May 23, 20197 yr this is a level debug. 0 is for production, 1-2 allow you some interesting informations if you have a problem to solve.
May 25, 20197 yr Author Ok, thank @Patrick, I try like explained, yes I can see the error and there is a problem with sendmail. I tested via google, works fine.
May 25, 20197 yr I have been a similar problem and found the solution. I use now the configuration with gmail smtp.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.