fonction mail() sur un site hébergé chez free

Eléphanteau du PHP | 11 Messages

20 nov. 2024, 21:06

ca y est j'arrive a faire focntionner sur tous les mails sauf gmail. Je pense qu'il faut des headers mais je ne sais pas ce que je dois mettre comme headers exact...

Eléphanteau du PHP | 11 Messages

20 nov. 2024, 21:57

je recois ça dans ma boite free.fr apres avoir essayer ma fonction mail :

<[email protected]>: host gmail-smtp-in.l.google.com[108.177.15.26]
said: 550-5.7.26 Your email has been blocked because the sender is
unauthenticated. 550-5.7.26 Gmail requires all senders to authenticate with
either SPF or DKIM. 550-5.7.26 550-5.7.26 Authentication results:
550-5.7.26 DKIM = did not pass 550-5.7.26 SPF [free.fr] with ip:
[212.27.63.203] = did not pass 550-5.7.26 550-5.7.26 For instructions on
setting up authentication, go to 550 5.7.26
https://support.google.com/mail/answer/ ... entication
ffacd0b85a97d-382588b7c24si462696f8f.521 - gsmtp (in reply to end of DATA
command)

je comprend pas ???