How to use bcc with email resource


#1

this simple pipeline fails to send a bcc

resource_types:

  • name: email
    type: docker-image
    source:
    password: password
    repository: repository
    tag: 1.0.9
    username: user

resources:

  • name: send-email
    type: email
    source:
    from: from@email.com
    to: [user1@email.com]
    bcc: [user2@email.com]
    smtp:
    anonymous: true
    host: smtp.company.com
    port: “25”
    skip_ssl_validation: true

jobs:

  • name: send-email
    plan:
    • put: send-email
      params:
      subject_text: “subject”
      body_text: “body”

#2

There is no official email resource for Concourse. I assume you’re probably using this one since its most common. Taking a quick cursory look at the source code suggests what you’re doing should work. It might be a bug in the resource. Your best bet is to raise a github issue against the resource’s GitHub repo since it is a community-supported resource.