i've already done my own research on this subject. But no topics, or forums helped me. So I repost fo myself. Everything is in the title. I'm working for a website with MAMP Pro. I'm on OS el Capitan. And i want to send emails with php using my personal gmail address.
What i tried for it work: In Mamp Pro: mamp-configuration
Main.cf: main.cf
sasl_MAMP_passwd:
smtp.gmail.com:587 myadress@gmail.com:mygmailcode
php.ini:
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 587
; For Win32 only.
;sendmail_from = me@example.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =
The error when i try to send email:
Jun 4 14:38:04 xxxxx postfix/smtp[3825]: warning: connect to private/tlsmgr: Connection refused
Jun 4 14:38:04 xxxxx postfix/smtp[3825]: warning: problem talking to server private/tlsmgr: Connection refused
Jun 4 14:38:05 xxxxx postfix/smtp[3825]: warning: connect to private/tlsmgr: Connection refused
Jun 4 14:38:05 xxxxx postfix/smtp[3825]: warning: problem talking to server private/tlsmgr: Connection refused
Jun 4 14:38:05 xxxxx postfix/smtp[3825]: warning: no entropy for TLS key generation: disabling TLS support
Jun 4 14:38:05 xxxxx postfix/smtp[3825]: EB1DE2C897A: TLS is required, but our TLS engine is unavailable
Jun 4 14:38:05 xxxxx postfix/smtp[3825]: EB1DE2C897A: to=<myadress@gmail.com>, relay=smtp.gmail.com[XX.XXX.XXX.XXX]:587, delay=2.7, delays=1.1/1.1/0.51/0, dsn=4.7.5, status=deferred (TLS is required, but our TLS engine is unavailable)
It's been 1 week i try to do my best for it work. But impossible. Thanks for help.