I want to sent email which have three dots : example testing.app.forward.123@gmail.com but the Email doesn't sent. but If there is like testing.app.forward@gmail.com it works.
I want to know what is happening...
I am using pure PHP Mail. This is my Code.
Thanks you in advance.
$email_message = "自動通知メールのため、当メールアドレスへの返信はできません。 \n返信をご希望の場合は「info@pwr.co.jp」までご連絡をお願いいたします。" . "\n\n";
$email_message .= "以下の内容でご確認させていただきます。 " . "\n";
$email_message .= "--------------------------------------" . "\n";
$email_message .= "あなたのOTP: " . $otp . "\n";
$email_message .= "--------------------------------------" . "\n\n";
$email_message .= "弊社より一週間以内に返信がなければ、お手数ですが「info@hello.co.jp」までお問い合わせください。" . "\n";
$email_subject = '「Hello」OTPコード';
// create email headers
$headers = 'From: ' . "info@hello.fun" . "\r\n" .
'Reply-To: ' . "info@hello.co.jp" . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($request->email, $email_subject, $email_message, $headers);
I want to know how to fix. I have tried testingappforward@gmail.com, testingapp.forward@gmail.com and testing.app.forward@gmail.com and It works.