I try to send an email with my adress mail from PHP, but the mail was not delivered. This is the log :
Mar 15 23:11:30 vps-**** sendmail[5519]: v2FMBUKG005519: Authentication-Warning: vps-21663.fhnet.fr: www-data set sender to mywebsite@site.com using -f
Mar 15 23:11:30 vps-**** sendmail[5519]: v2FMBUKG005519: from=mywebsite@site.com, size=633, class=0, nrcpts=1, msgid=<58c9bc127f710@site.com>, relay=www-data@localhost
Mar 15 23:11:30 vps-**** sm-mta[5520]: v2FMBU6A005520: from=<mywebsite@site.com>, size=830, class=0, nrcpts=1, msgid=<58c9bc127f710@site.com>, proto=ESMTP, daemon=MTA-v4, relay=vps-****.****.fr [127.0.0.1]
Mar 15 23:11:30 vps-**** sendmail[5519]: v2FMBUKG005519: to=myemail@outlook.com, ctladdr=mywebsite@site.com (33/33), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30633, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (v2FMBU6A005520 Message accepted for delivery)
I'm novice and i have several question about the mail. I have an adress mail : no-reply@site.com.
Which server smtp i need to use?
Where we configure the mail who want to use, the password, the port...?
Because I have all configure in PHP, but I need to modify my conf php, or the conf of sendmail?
Thanks you for your help !