Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita855de3

Browse files
committed
support proxy configuration
1 parentcb3a063 commita855de3

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

‎.prettierrc‎

Lines changed: 0 additions & 4 deletions
This file was deleted.

‎README.md‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,21 @@
33
An action that simply sends a mail to multiple recipients.
44

55
Some features:
6+
67
- plain text body
78
- HTML body
89
- multipart body (plain text + HTML)
910
- Markdown to HTML converting (use`html_body`, not`body`)
1011
- file attachments (supports globbing)
1112

12-
1313
##Usage
1414

1515
```yaml
1616
-name:Send mail
1717
uses:dawidd6/action-send-mail@v5
18+
env:
19+
# Optional http proxy:
20+
HTTP_PROXY:http://proxy.example.test:3128
1821
with:
1922
# Specify connection via URL (replaces server_address, server_port, secure,
2023
# username and password)
@@ -76,8 +79,7 @@ Some features:
7679
7780
Instead of using your normal Google password, use an App password.
7881
79-
1. [Enable 2-Step Verification.](https://support.google.com/accounts/answer/185839?hl=en&co=GENIE.Platform%3DAndroid).
80-
This is needed to create an App password.
82+
1. [Enable 2-Step Verification](https://support.google.com/accounts/answer/185839?hl=en&co=GENIE.Platform%3DAndroid). This is needed to create an App password.
8183
2. [Create an App password](https://support.google.com/accounts/answer/185833?hl=en) for`Mail`.
8284

8385
### Unauthenticated login (username/password fields)

‎main.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ async function main() {
146146
:undefined,
147147
logger:nodemailerdebug=="true" ?true :nodemailerlog,
148148
debug:nodemailerdebug,
149+
proxy:process.env.HTTP_PROXY,
149150
});
150151

151152
vari=1;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp