sendmail.exe

PHP mail() on Windows: no errors, the email isn't sent

偶尔善良 提交于 2020-01-01 05:26:07
问题 I'm currently trying to debug an Elgg-based website (I didn't develop it) and I would like to send the emails directly from local development machine (WinXP). I'm running WAMP with Apache 2.2.11 and PHP 5.3.0 After some searching, the simplest solution that I've come across is using fake sendmail to forward it to my GMail/Google apps account via SMTP and let it do the sending. The problem is that I get no errors whatsoever, but the email isn't being sent. Here's what I did: Copied the

sendmail.exe opens on sending mail

百般思念 提交于 2019-12-17 20:54:32
问题 I am actually new in using sendmail but I have read a lot about this, and only redirect me to use PHPmailer,swiftmailer etc... But it's so complicated to understand without the knowledge of the basics. So I decided to try simple, and this is what I've got. I have configured my php.ini: [mail function] smtp_port = 465 sendmail_path="C:\wamp\sendmail\sendmail.exe -t" mail.add_x_header = On And my sendmail.ini: [sendmail] smtp_server=smtp.gmail.com smtp_port=587 smtp_ssl= error_logfile=error.log

How can I use fake sendmail with SwiftMailer on Windows?

血红的双手。 提交于 2019-12-07 09:03:35
问题 I wish to send emails using PHP on Windows via an external SMTP server. I must use SwiftMailer for this purpose. I can send emails via the external SMTP server using PHP's native mail() function and Fake Sendmail for Windows, but I cannot get SwiftMailer working. Working Setup Using PHP's mail() Function Here is the PHP code I use to send mail successfully using the native mail() function. $returnValue = mail ( $params['to' ], $params['subject'], $params['body' ], "From: Sender McSender <{

How can I use fake sendmail with SwiftMailer on Windows?

一笑奈何 提交于 2019-12-05 16:31:55
I wish to send emails using PHP on Windows via an external SMTP server. I must use SwiftMailer for this purpose. I can send emails via the external SMTP server using PHP's native mail() function and Fake Sendmail for Windows , but I cannot get SwiftMailer working. Working Setup Using PHP's mail() Function Here is the PHP code I use to send mail successfully using the native mail() function. $returnValue = mail ( $params['to' ], $params['subject'], $params['body' ], "From: Sender McSender <{$params['from']}>" ); echo "mail() returned "; var_dump($returnValue); Here is the relevant portion of my

PHP mail() on Windows: no errors, the email isn't sent

浪尽此生 提交于 2019-12-03 15:58:48
I'm currently trying to debug an Elgg-based website (I didn't develop it) and I would like to send the emails directly from local development machine (WinXP). I'm running WAMP with Apache 2.2.11 and PHP 5.3.0 After some searching, the simplest solution that I've come across is using fake sendmail to forward it to my GMail/Google apps account via SMTP and let it do the sending. The problem is that I get no errors whatsoever, but the email isn't being sent. Here's what I did: Copied the sendmail.exe and sendmail.ini to a subfolder in WAMP Configured it via sendmail.ini (the configuration

sendmail.exe opens on sending mail

回眸只為那壹抹淺笑 提交于 2019-11-28 14:01:09
I am actually new in using sendmail but I have read a lot about this, and only redirect me to use PHPmailer,swiftmailer etc... But it's so complicated to understand without the knowledge of the basics. So I decided to try simple, and this is what I've got. I have configured my php.ini: [mail function] smtp_port = 465 sendmail_path="C:\wamp\sendmail\sendmail.exe -t" mail.add_x_header = On And my sendmail.ini: [sendmail] smtp_server=smtp.gmail.com smtp_port=587 smtp_ssl= error_logfile=error.log debug_logfile=debug.log auth_username=mygmail@gmail.com auth_password=mypassword hostname=localhost

Sending email from localhost server xampp/sendmail

*爱你&永不变心* 提交于 2019-11-28 12:53:59
I have set up a PHP site that will be locally hosted. One function of this is to send an email with items from a shopping cart. When hosted online (for testing) the email() function worked perfectly sending email. I'm now transferring the site to a local machine, and am unable to send email. Originally the emails came from servername@hostname.co.uk which worked well, although I'd happily set up a gmail or similar to handle the sending. I've read a few tutorials about setting things up and have firstly tried using sendmail and a gmail address. I'm wondering if there's something simple I've

No mail received in inbox with XAMPP 1.8.0, MercuryMail and mail()

﹥>﹥吖頭↗ 提交于 2019-11-27 23:12:46
I upgraded my local server using XAMPP 1.8.0 which contains Apache 2.4.2, PHP 5.4.5 and MySQL 5.5. I send mails with PHP mail() function by running MercuryMail, but no email received in my inbox. Sending mails are working when I tested with Mozilla Thunderbird. And the mail() function seems to be working with no error issued. I checked php.ini in my XAMPP installation path D:\xampp\php . I saw this below [mail function] ; XAMPP: Comment out this if you want to work with an SMTP Server like Mercury ; SMTP = localhost ; smtp_port = 25 ; For Win32 only. ; http://php.net/sendmail-from ; sendmail

Sending email from localhost server xampp/sendmail

喜你入骨 提交于 2019-11-27 07:17:25
问题 I have set up a PHP site that will be locally hosted. One function of this is to send an email with items from a shopping cart. When hosted online (for testing) the email() function worked perfectly sending email. I'm now transferring the site to a local machine, and am unable to send email. Originally the emails came from servername@hostname.co.uk which worked well, although I'd happily set up a gmail or similar to handle the sending. I've read a few tutorials about setting things up and

No mail received in inbox with XAMPP 1.8.0, MercuryMail and mail()

我只是一个虾纸丫 提交于 2019-11-26 21:22:31
问题 I upgraded my local server using XAMPP 1.8.0 which contains Apache 2.4.2, PHP 5.4.5 and MySQL 5.5. I send mails with PHP mail() function by running MercuryMail, but no email received in my inbox. Sending mails are working when I tested with Mozilla Thunderbird. And the mail() function seems to be working with no error issued. I checked php.ini in my XAMPP installation path D:\xampp\php . I saw this below [mail function] ; XAMPP: Comment out this if you want to work with an SMTP Server like