Skip to content

Minor (or not minor) issue in v.2 with SSL v3 and Microsoft Communication Services. #68

Description

@vit100-trader

SMTP Server is Microsoft Communication Services:
Looks like v2 is not working with Microsoft Communication Services.
As soon I downgraded to v.1, I could send email


2025-07-14T20:35:48.2128858Z ##[section]Starting: Send an email with subject MyTest release completed.
2025-07-14T20:35:48.2134878Z ==============================================================================
2025-07-14T20:35:48.2135152Z Task : Send email
2025-07-14T20:35:48.2135240Z Description : Send an email to 1 or more addresses via the SMTP server you provide
2025-07-14T20:35:48.2135357Z Version : 2.0.0
2025-07-14T20:35:48.2135446Z Author : Rene van Osnabrugge
2025-07-14T20:35:48.2135524Z Help : Version: 2.0.5. More information
2025-07-14T20:35:48.2135644Z ==============================================================================
2025-07-14T20:35:48.4231452Z Input Values
2025-07-14T20:35:48.4261198Z To: tome@myserver.com
2025-07-14T20:35:48.4286802Z Subject: test.
2025-07-14T20:35:48.4310268Z Body: test.
2025-07-14T20:35:48.4331108Z
2025-07-14T20:35:48.4440005Z From: DoNotReply@mydomain.com
2025-07-14T20:35:48.4440284Z SmtpServer: smtp.azurecomm.net
2025-07-14T20:35:48.4440549Z SmtpPort: 587
2025-07-14T20:35:48.4440860Z SmtpUsername: DoNotReply@blah-blah.azurecomm.net
2025-07-14T20:35:48.4441175Z UseSSL: true
2025-07-14T20:35:48.4441428Z AddAttachment: false
2025-07-14T20:35:48.4441687Z Attachment: undefined
2025-07-14T20:35:48.4441940Z CC: undefined
2025-07-14T20:35:48.4442192Z BCC: undefined
2025-07-14T20:35:48.4442472Z ReplyTo: undefined
2025-07-14T20:35:48.4442836Z SMTP configuration with username and password
2025-07-14T20:35:48.6545764Z [Error: F4080000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:c:\ws\deps\openssl\openssl\ssl\record\ssl3_record.c:355:
2025-07-14T20:35:48.6546428Z ] {
2025-07-14T20:35:48.6546809Z library: 'SSL routines',
2025-07-14T20:35:48.6547128Z reason: 'wrong version number',
2025-07-14T20:35:48.6547437Z code: 'ESOCKET',
2025-07-14T20:35:48.6547729Z command: 'CONN'
2025-07-14T20:35:48.6548006Z }
2025-07-14T20:35:48.6564363Z ##[error]Failed to send email
2025-07-14T20:35:48.6642476Z ##[section]Finishing: Send an email with subject blah blah.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions