Multiple e-mail addresses on alerts

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Multiple e-mail addresses on alerts

  • Creator
    Topic
  • #52014
    Bevan Richards
    Participant

      I am on Version 5.7 Rev 2 on Windows Server 2008 boxes. I have the alerts sending an e-mail message to our facilityies exchange server. The problem is that it will only use the 1st address and not send to multiple addresses or to a list name in the exchange server. I have tried seperating a list of addresses with a simi-colon and with a space to no avail.

    Viewing 9 reply threads
    • Author
      Replies
      • #72715
        garry r fisher
        Participant

          Hi Bevan,

          Have you tried using a comma? I don’t know whether that’s what’s needed but sometimes the simplest options are the best.

          Regards

          Garry

        • #72716
          David Harrison
          Participant

            I separate multiple addresses with spaces and that works for me. However, I’m using mailx on unix so perhaps it’s different for Windows.

          • #72717
            Nate Kruse
            Participant

              Try a comma with no space.

            • #72718
              Glenn Friedenreich
              Participant

                or maybe try enclosing the entire list of addressees in quotes

              • #72719
                Vince Angulo
                Participant

                  I don’t have a real solution but had a similar problem where not all the addressees were getting their copies.  The best workaround our network and exchange folks could come up with was for me to make myself the first addee and then create a rule in outlook to have the messages forwarded to the other folks that needed it.

                  Eventually, we implemented Automate7(R) which had a more robust tools.

                • #72720
                  Michael Lacriola
                  Participant

                    A Unix based option which I’m leaning more towards is the use of the .mailrc file under /home/hci. When using multiple email addresses, create an alias with the intended email addresses in the .mailrc file like so:

                    alias ALIAS-NAME email_1@whereever.com email_2@anotherplace.com

                    Then, when using it in a script, it would look like this:

                    mail -s “Subject goes here” ALIAS-NAME </some-dir/textfile.txt

                    I believe it will work for mailx command.

                  • #72721
                    Rod Kromrey
                    Participant

                      I had this same issue.

                      What you need to do is quote the email addresses seperated by a comma with no spaces.

                      Ex: “email1@email.com,email2@email.com,email3,@email.com”

                    • #72722
                      Chris Williams
                      Participant

                        The way you pass multiple addresses, what you use for separators and whether you must place them all inside quotation marks depends on the mail client you are passing them to. If you are using mail, mailx, sendmail or whatever, you must conform to that software’s addressing requirements. One size does not fit all. If you need to use spaces, tcl may need to see quotes.

                      • #72723
                        Kirby Knight
                        Participant

                          Hello Bevan,

                          How are you passing the alert emails to the Exchange server?

                        • #72724
                          Bevan Richards
                          Participant

                            Kerby, this is how I have gotten it to work. I have found I have a 3 address limit however…

                            “richarb@rwmc.net,Jerome.Powers@rwmc.net,AA-OnCall@rwmc.net”

                            We have decided to send alerts to myself, the ‘new guy’, and to an account that is connected to a blackberry. So far this has worked.

                        Viewing 9 reply threads
                        • The forum ‘Cloverleaf’ is closed to new topics and replies.