Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Sending email via pipe is failed in bitbucket pipeline

Hi All,

I am trying to send the build status via email using email-notify pipe but its failed with sending failed.

 

- pipe: atlassian/email-notify:0.4.3

variables:

USERNAME: 'yyy@xxxx.com'

PASSWORD: $PASSWORD2

FROM: 'yyy@xxxx.com'

TO: 'abcde@xxxx.com'

HOST: 'corporate.mail.protection.outlook.com'

SUBJECT: '${ALERT_TYPE}:Bitbucket Pipe Notification for ${BITBUCKET_BRANCH}'

DEBUG: 'true' 

Host is corporate office 365 domain

Error message

image.png

Outlook office 365 settings in my account

image.png

 

1 comment

Looks like the port is blocked because that SMTP host only supports port 25.

Ideally you should use smtp.office365.com as the host if you want the port to be 587 (the default, which you don't indicate so it must be). This is the recommended way since SPF will be valid.

That doesn't support MFA though, so if you need that you need to change the port to 25 and use the host you have above. That doesn't support external emailing, which normally is fine. SPF will also fail, so it may be blocked unless you make some rules. You might be able to figure out the SPF setting from Atlassian's TXT record and add it to yours.

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Bitbucket

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

639 views 7 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you