1 Reply Latest reply on Mar 22, 2009 5:50 PM by Günter Schenk

    EMAIL_FAILED

    NJFuller
      Hi all,

      I was advised to ask this question in here... hopefully you can help.

      I have made a form using ADDT / Update record wizard. The form is fairly simple and is for sending a file attachment - I used this tutorial + PhP:
      http://dwfaq.info/home.php?id=4

      The form itself appears to work properly, but the action will not work. When I run the form on the webpage I get the following error:

      Error:
      Error sending e-mail.
      Developer Details:
      E-mail couldn't be sent. Error returned: Failed to connect to auth.smtp.myserver.co.uk:25 [SMTP: Failed to connect socket: Connection refused (code: -1, response: )]. (EMAIL_FAILED)
      tNG Execution Trace - VIEW

      * tNG_update.executeTransaction
      o STARTER.Trigger_Default_Starter
      o tNG_update.doTransaction
      + BEFORE.Trigger_Default_saveData
      # tNG_update.saveData
      + BEFORE.Trigger_Default_FormValidation
      + tNG_update.prepareSQL
      + tNG_update.executeTransaction - execute sql
      + AFTER.Trigger_FileUpload
      # tNG_update.afterUpdateField - attachment, vacancies_2.txt
      + AFTER.Trigger_SendEmail*
      * tNG_update.getRecordset
      * tNG_update.getFakeRsArr
      * tNG_update.getLocalRecordset
      * tNG_update.getFakeRecordset

      It is worth mentioning that I have 2 other forms on the webpage which work perfectly. The only difference between these forms and this one, is that the other forms do not attach a file - and a fairly large difference - they are 'hand crafted' rather than made using ADDT.

      I really really need to get this form working - could someone please help?

      Many thanks,

      Nathan
        • 1. Re: EMAIL_FAILED
          Günter Schenk Level 4
          Hi Nathan,

          ------
          It is worth mentioning that I have 2 other forms on the webpage which work perfectly
          ------

          is it possible that your 2 working forms email the data using PHP´s native "mail" function instead of smtp ?

          Cheers,
          Günter Schenk
          Adobe Community Expert, Dreamweaver