Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Email not working for multiple addresses

    Scheduled Pinned Locked Moved Support
    buildmasteremail
    10 Posts 1 Posters 13 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      Hi,

      When I send email notifications to multiple addresses (which I've seprated by a space now, rather than a semi-colon ), the email isn't received.
      Sending to a single email address works fine.

      Thanks,

      David

      Product: BuildMaster
      Version: 5.0.11

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        Hello; we can't reproduce this on our end (or I should say, sending to multiple addresses works quite allright), and it hasn't changed in quite a while (4.5 or so).

        It might be an intermediate service that's blocking it?

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          Hi,

          OK, thanks I'll have to send a couple of individual emails then as it just won't work.
          The SMTP log file just shows the one email address.

          Should the email separator be a space or a semi colon?

          In version 4.9 I'm using a semi colon, but that doesn't work in 5.1.1.

          Unhandled exception: System.FormatException: An invalid character was found in the mail header: ';'.
          

          David.....

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            It should be a new line.

            When you save the event listener, it should say something like "Send an email to 2 addresses" instead of "Send an email to email1@something; email2@something".

            Then, it will be persisted and seen correctly as a list.

            1 Reply Last reply Reply Quote 0
            • ? This user is from outside of this forum
              Guest
              last edited by

              Hi,

              OK, thanks. I'll give that a go.

              Just have another issue since upgrading.. :-( I'll create a new ticket.

              David

              1 Reply Last reply Reply Quote 0
              • ? This user is from outside of this forum
                Guest
                last edited by

                Hello,

                I'm still struggling with this.

                "When you save the event listener, it should say something like "Send an email to 2 addresses" instead of "Send an email to email1@something; email2@something". Then, it will be persisted and seen correctly as a list."

                Do you mean save the plan?
                The help when I visually add the email function states "a single email address may be used, or a list variable containing multiple email addresses"
                I've tried creating a list variable, but I can't find the correct format for this, can you tell me how to do this please.

                Thanks,

                David

                1 Reply Last reply Reply Quote 0
                • ? This user is from outside of this forum
                  Guest
                  last edited by

                  I was referring to the Pipeline, i.e... Pipelines > ["Standard"] > Post-Deployment > add event > Email Listener

                  Is that what you were using? Or, are you referring to a OtterScript plan?

                  1 Reply Last reply Reply Quote 0
                  • ? This user is from outside of this forum
                    Guest
                    last edited by

                    Hi,

                    Just in the Otter Script. We just send notification emails, once the deployment is complete.

                    David

                    1 Reply Last reply Reply Quote 0
                    • ? This user is from outside of this forum
                      Guest
                      last edited by

                      Hi David,

                      In this case, you'll need to use the "list syntax" of @(...). This will look like:

                      Send-Email
                      (
                          To: @(address1@somewhere.com,address2@elsewhere.com)
                      );
                      

                      We will try to fix the editor soon so that it allows you to enter one per line.

                      1 Reply Last reply Reply Quote 0
                      • ? This user is from outside of this forum
                        Guest
                        last edited by

                        Hi,

                        Great thanks. Just what I needed. I couldn't work out how to get the list to work.

                        David

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • 1 / 1
                        • First post
                          Last post
                        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation