0 Replies Latest reply on Feb 21, 2008 7:46 PM by cgrray

    Email Failing: Failed to add recipient

    cgrray
      I have an update form with a send email behavior that is updating the record but the send email behavior is failing. This is the error message:
      E-mail couldn't be sent. Error returned: Failed to add recipient: @localhost [SMTP: Invalid response code received from server (code: 501, response: <@localhost>: no local part)]. (EMAIL_FAILED)
      Trace:
      tNG Execution Trace:
      tNG_update.executeTransaction
      STARTER.Trigger_Default_Starter
      tNG_update.doTransaction
      BEFORE.Trigger_Default_saveData
      tNG_update.saveData
      BEFORE.Trigger_Default_FormValidation
      tNG_update.prepareSQL
      tNG_update.executeTransaction - execute sql
      AFTER.Trigger_SendEmail*
      tNG_update.getRecordset
      tNG_update.getFakeRsArr
      tNG_update.getLocalRecordset
      tNG_update.getFakeRecordset

      I have another form on this site that send 2 emails using the send email behavior and they work fine.
      The priority for this send email behavior is 90. I tried changing it to 40 but it fails the same way.
      Any help is appreciated.

      OK So after sleeping (or not) on this I came up with this. I had the email field on the update form set to display as Text - not Text Field. When I changed it to Text Field it was able to send the email to the correct address. I'm not sure why this is but it worked.