Nedoručuje se mi E-mail
Dobrý den,
z webového formuláře mi nechodí E-maily na mail kontroval jsem E-maily odeslané z PHP funkcí mail() a tam mi normálně dojdou. Co je tam za chybu?
Děkuji
M
6 Odpověď
Dobrý den,
Gmail vrátil chybu:
This mail 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 [hc1-wd288.wedos.net] with ip: [46.28.106.21] = 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/81126#authentication w6-20020a05640234c600b005638fa60d3esi6149003edc.573 – gsmtp (in reply to end of DATA command))
Je potřeba řádně nastavit return-path a použít adresu na doméně webhostingu. Adresa odesílatele na gmailu bude fungovat jenom přes SMTP.