0

has any body experience with mail() function of PHP in case of issues with new top level domains like ".one" ?

mail('name@domain.one', 'Description', 'Mesage', null, '-fwebmaster@example.com');

This email never be send to his recipient. Other emails like .com are no problem.

Korty
  • 309
  • 2
  • 8
  • 19
  • 3
    `mail()` does not send mail. Your email server sends the mail – RiggsFolly Mar 02 '18 at 09:45
  • Are you testing on local machine? Do you have SMTP server set up? – lolbas Mar 02 '18 at 09:45
  • no, php is run on a webserver and smtp is working fine with other tld like .com or .nl ... only .one doesn't work – Korty Mar 02 '18 at 09:50
  • 3
    If you can send it to .com email addresses and not .one email addresses can make sure that you can actually send an email to that .one email address using something like gmail or any other email client. If that does not work the issue might be at the other end. – Kamal Soni Mar 02 '18 at 09:50
  • Install sendmail on your machine – Markus Mar 02 '18 at 09:56
  • 1
    Can you please confirm that the email sending through gmail worked or not, so we can look further if needed? – Kamal Soni Mar 02 '18 at 10:42

0 Answers0