Skip to content

Conversation

@kou
Copy link
Member

@kou kou commented Jan 16, 2026

Rationale for this change

https://docs.python.org/3/library/smtplib.html#smtplib.SMTP.sendmail uses the third argument as e-mail content but https://docs.python.org/3/library/smtplib.html#smtplib.SMTP.send_message uses the first argument as e-mail.

What changes are included in this PR?

  • Pass e-mail as the first argument
  • Remove redundant from and to addresses
    • They are extracted from the given e-mail automatically

Are these changes tested?

Yes. I sent a test e-mail manually.

Are there any user-facing changes?

No.

@kou kou force-pushed the ci-nightly-report branch from 886055e to 315ea3b Compare January 16, 2026 02:59
@github-actions github-actions bot added the awaiting committer review Awaiting committer review label Jan 16, 2026
Copy link
Member

@raulcd raulcd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @kou !
I've validated the smtplib documentation, this seems good.
https://docs.python.org/es/dev/library/smtplib.html#smtplib.SMTP.send_message

@github-actions github-actions bot added awaiting merge Awaiting merge and removed awaiting committer review Awaiting committer review labels Jan 16, 2026
@raulcd raulcd changed the title GH-48861: [CI] Fix wrong smtplib.SMTP.send_message usage GH-48861: [CI] Fix wrong smtplib.SMTP.send_message usage Jan 16, 2026
@raulcd raulcd changed the title GH-48861: [CI] Fix wrong smtplib.SMTP.send_message usage GH-48861: [CI] Fix wrong smtplib.SMTP.send_message usage Jan 16, 2026
@github-actions
Copy link

⚠️ GitHub issue #48861 has been automatically assigned in GitHub to PR creator.

@raulcd raulcd merged commit 6ec9162 into apache:main Jan 16, 2026
25 of 26 checks passed
@raulcd raulcd removed the awaiting merge Awaiting merge label Jan 16, 2026
@kou kou deleted the ci-nightly-report branch January 16, 2026 08:51
@conbench-apache-arrow
Copy link

After merging your PR, Conbench analyzed the 3 benchmarking runs that have been run so far on merge-commit 6ec9162.

There weren't enough matching historic benchmark results to make a call on whether there were regressions.

The full Conbench report has more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants