Announcement

Collapse
No announcement yet.

UltraSMTP3 Scripting

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Ultra, have you been able to duplicate this Subject line bug?

    Comment


      #17
      None of the replacement variables work in UltraSMTP3 either from what I can tell.

      I tried to do this:

      A weather alert update occurred at $$DC:Station1-last-alert-title

      $$Ds:Station1-last-alert-title

      Not working

      Comment


        #18
        Originally posted by madmax View Post
        Ultra, have you been able to duplicate this Subject line bug?
        Yes, this is a bug. I am working on a fix.
        Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

        Comment


          #19
          Originally posted by madmax View Post
          None of the replacement variables work in UltraSMTP3 either from what I can tell.

          I tried to do this:

          A weather alert update occurred at $$DC:Station1-last-alert-title

          $$Ds:Station1-last-alert-title

          Not working
          Those look like HS2 replacement variables. Try $$DTA:Station1-last-alert-title:

          Here is an example I use for Caller Id:

          You received a new incoming call from
          $$DTA:UltraCID3-Name:
          $$DTA:UltraCID3-Nmbr:
          on $date $time

          Regards,
          Ultrajones
          Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

          Comment


            #20
            Originally posted by madmax View Post
            Ultra, have you been able to duplicate this Subject line bug?
            Hello madmax. The version I just uploaded to the HS3 updater fixes the subject line bug. Thank you for reporting it.

            Regards,
            Ultrajones
            Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

            Comment


              #21
              Thanks Ultra, Unfortunately I'm getting an error 404:
              Error downloading file: The remote server returned an error: (404) Not Found.

              Comment


                #22
                Oops. Fixed.
                Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

                Comment


                  #23
                  Thanks Ultra, Just installed and tested. Colons work. I also uncovered that $date and $time replacement variables don't work in the subject line. They work fine in the body though.

                  Comment


                    #24
                    Another couple bugs:

                    1. Body data disappears if Subject line contains specific data
                    Body = "This is test body data"
                    Subject = "Subject = "This is a big test message with a long subject line (Just a test)"

                    This results in a successful message (body and subject)
                    Simply change Subject to:
                    Subject = "RSS: This is a big test message with a long subject line (Just a test)"

                    Adding "RSS: " before the string, and the subject comes across fine. But the body disappears. No body is sent. It seems to have something to do with length and special characters.

                    2. Replacement variables don't work in the subject line. i.e. $time $date, etc

                    Comment


                      #25
                      Hi Ultra, Have you been able to duplicate this issue?

                      Comment


                        #26
                        Yes. It looks like the change from the .Net 2.0 to the .Net 4.0 framework change the formatting of the Internet headers. It looks like Microsoft actually read the RFC this time I am working on a fix and will post soon.

                        Regards,
                        Ultrajones
                        Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

                        Comment


                          #27
                          UltraSMTP3 HSPI version 3.0.5173.34401 resolves the issues you reported.
                          Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

                          Comment


                            #28
                            You're going to be annoyed with me by the time the bugs are all gone. This build is much better $date and $time works but something like $$DTA:Station1-last-alert-title: doesn't work in Subject line. It's fine in the body though.

                            Comment


                              #29
                              Ultra, have you been able to duplicate this issue?

                              Comment


                                #30
                                Originally posted by madmax View Post
                                Ultra, have you been able to duplicate this issue?
                                I don't recall the subjects every supporting the full list of replacement variables. I'll add it in the next release.

                                Regards,
                                Ultrajones
                                Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

                                Comment

                                Working...
                                X