简体   繁体   中英

Sending bcc email recipient in Jenkins using email-ext plugin

I am using the email-ext plugin in Jenkins to send email messages upon build completion in Jenkins.

I want to include certain email addresses as bcc and am using the following convention when specifying email addresses:

email1@domain1.com,bcc:email2@domain2.com,cc:email3@domain3.com

The first and last emails get sent correctly. However, the bcc email gets sent in the "To" section of the email with "b" prefixed to the address. So instead of email2@domain2.com, it tries (unsuccessfully) to send an email to bemail2@domain2.com.

I looked at the email-ext issue list related to bcc and cc and did not find anything similar to this. Therefore I am posting it here.

Thanks in advance.

Handling bcc was added in this commit on Feb 24, 2014, according to the changelog there was a related fix released as part of 2.40.3 on May 20, 2015.

So I would first check if you have at least this version installed and if not try to upgrade to the latest one to see if it works then.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM