• Error replying mail

    By Georg Leitner 1 decade ago

    hi,

    i got the change to download the initial release, before it was taken down.

    there is a problem, if i reply to a received email. here are the steps to reproduce:

    send email to LN-TeamMail, click "antwort" on reveived email, and the click "senden". after that i get a "Invalid use of null" error, and the email is not send.

     

    greets

    • Could not reproduce,some questions

      By Jens-B. Augustiny 1 decade ago

      First, thanks for reporting the problem.

       

      I tried and could not reproduce this behaviour. Can you please check: if the sender-address, that is used, is in a correct format?

      You may also turn on the debugger (Werkzeuge - Debug LotusScript), when it comes up press "Fortsetzen" (Continue), as soon as the error occurs, it should stop on the line of code, which is throwing the error.

       

      Jens

      • Debugger

        By Georg Leitner 1 decade ago

        i did start the debugger, and after the error was thrown, i did make a screenshot from the debugger. hope this does help.

        • workaround

          By Georg Leitner 1 decade ago

          i did a play a little with the db, and in the reply, if i choose another sender adress as the one automatically put in, then it does work.

          • Hotfix: Yes it is the sender processing which is in error

            By Jens-B. Augustiny 1 decade ago

            I already have seen earlier, that the changeable sender code is not really mature and have already found myself some errors. Basically, if you got an email into the box, that does have an address, which is not defined in the settings, unpredictable things may happen. I am pretty sure, you see an address, which may be a variant of the ones you have in the settings, but is not matching the address as you have entered it in the settings. May you please check, if my suspicion is right? The code does a exact lookup of the addres to be used, so if Domino has sent it to your mailbox as a legal variant of your address, this code will not find it. Unfortunately, there is more of such "magic" inside the code. I hope to find as much as possible before the next release.

             

            If you replace the section with the following code, it will use the very first address in your list instead of throwing an error:

             

                ' Which eMail Address To Use
                Dim eMailAddressNo As Integer
                On Error Resume Next        ' As the selected address is not checked for correct value, we may

                                            ' not be able to find the correct address
                                            ' as a workaround we use the topmost address

                                            ' defined in the settings
                eMailAddressNo = ArrayGetIndex(colorProfile.MailboxReplyTo,note.SelectFrom(0))
                On Error GoTo 0    

             

             

            BTW: Still waiting for IBM for legality of distributing some of their code to make it available again ........

            • working

              By Georg Leitner 1 decade ago

              you are right, the adress is not the one which is configured. i did send an email via notes name, than it was in canonical format like CN=.... and once with an abbreviation of the full email adress.

              i did apply the hotfix and now it works without the error. thx!