通过表单发送时 No Such User Here 错误

No Such User Here error when sending via form

我有一个在线表格正在发送到我客户的电子邮箱。不幸的是,我在提交时收到 "No Such User Here" 错误。如果我在我的电子邮件或我同事的电子邮件中测试该表格,它工作正常。

该电子邮件存在是因为他们告诉我他们用它来发送和接收其他电子邮件。

错误如下所示:

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:

 <client's email>
   No Such User Here

编辑:为了它的价值,这是我的代码。我正在使用 Processwire 并使用表单模板处理器模块。我以前用过。当发送到除我客户以外的任何电子邮件时,此表格都可以正常工作。我认为这更像是我不太精通的 MX 记录。

<?php
 $form = $modules->get('FormTemplateProcessor'); 
 $form->template = $templates->get('form'); // required
 $form->requiredFields = array('first_name','last_name','company','email','phone');
 $form->email = 'CLIENTS EMAIL'; // optional, sends form as email
 $form->parent = $page; // optional, saves form as page
 echo '<div class="form-header"><h2>Become a member today</h2></div>';
 echo $form->render(); // draw form or process submitted form
?>

您会收到“550 此处没有此类用户”错误的原因有多种。

  1. Mail file permissions are not readable or are incorrect.
  2. The email address was typed incorrectly.
  3. MX records are incorrect ( pointing to the wrong server ).
  4. Email does not route correctly ( Remote / Local domains ).

要进一步挖掘,请仔细阅读这篇文章Source

感谢Source海报@James Richardson