Skip to content

Commit f8eb8ba

Browse files
committed
Introduce new library
1 parent ddfd69a commit f8eb8ba

5 files changed

Lines changed: 23 additions & 14 deletions

File tree

.github/workflows/compile_examples.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ jobs:
6666
steps:
6767
- uses: actions/checkout@v2
6868
- name: Cache pip
69-
uses: actions/cache@v2
69+
uses: actions/cache@v4
7070
with:
7171
path: ~/.cache/pip
7272
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
7373
restore-keys: ${{ runner.os }}-pip-
7474
- name: Cache PlatformIO
75-
uses: actions/cache@v2
75+
uses: actions/cache@v4
7676
with:
7777
path: ~/.platformio
7878
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
@@ -155,13 +155,13 @@ jobs:
155155
steps:
156156
- uses: actions/checkout@v2
157157
- name: Cache pip
158-
uses: actions/cache@v2
158+
uses: actions/cache@v4
159159
with:
160160
path: ~/.cache/pip
161161
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
162162
restore-keys: ${{ runner.os }}-pip-
163163
- name: Cache PlatformIO
164-
uses: actions/cache@v2
164+
uses: actions/cache@v4
165165
with:
166166
path: ~/.platformio
167167
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}

.github/workflows/compile_library.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
steps:
3232
- uses: actions/checkout@v2
3333
- name: Cache pip
34-
uses: actions/cache@v2
34+
uses: actions/cache@v4
3535
with:
3636
path: ~/.cache/pip
3737
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
3838
restore-keys: ${{ runner.os }}-pip-
3939
- name: Cache PlatformIO
40-
uses: actions/cache@v2
40+
uses: actions/cache@v4
4141
with:
4242
path: ~/.platformio
4343
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
@@ -67,13 +67,13 @@ jobs:
6767
steps:
6868
- uses: actions/checkout@v2
6969
- name: Cache pip
70-
uses: actions/cache@v2
70+
uses: actions/cache@v4
7171
with:
7272
path: ~/.cache/pip
7373
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
7474
restore-keys: ${{ runner.os }}-pip-
7575
- name: Cache PlatformIO
76-
uses: actions/cache@v2
76+
uses: actions/cache@v4
7777
with:
7878
path: ~/.platformio
7979
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
@@ -101,13 +101,13 @@ jobs:
101101
steps:
102102
- uses: actions/checkout@v2
103103
- name: Cache pip
104-
uses: actions/cache@v2
104+
uses: actions/cache@v4
105105
with:
106106
path: ~/.cache/pip
107107
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
108108
restore-keys: ${{ runner.os }}-pip-
109109
- name: Cache PlatformIO
110-
uses: actions/cache@v2
110+
uses: actions/cache@v4
111111
with:
112112
path: ~/.platformio
113113
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,17 @@ Minimum 200k flash space device is recommended for library installation and user
1616

1717
The minimum ram requirement is based on the applications (SMTP and IMAP). IMAP application may required up to 20k memory while SMTP application required much less memory.
1818

19+
## New Library Is Available
20+
21+
The [ReadyMail](https://github.com/mobizt/ReadyMail), new, fast and lightweight async Email client library for Arduino is available.
22+
23+
The new Email client library supports both async and await mode usages with simple APIs.
24+
25+
The new library interfaces are simple, no more config class and config file. The network interface and filesystem are independent which allows you to work with any network and filesystem.
26+
27+
With new IMAP parser, the library reliability has been improved while providing less program space (only 52k). Let's try.
28+
29+
This `ESP-Mail-Client` library will be deprecated after the release of [ReadyMail](https://github.com/mobizt/ReadyMail) library within a year.
1930

2031
## Table of Contents
2132

examples/SMTP/External_Client/EthernetClient/ESP32/ESP32.ino

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,9 @@
4040

4141
#include <Arduino.h>
4242

43-
#include <ESP_Mail_Client.h>
44-
4543
// https://github.com/arduino-libraries/Ethernet
4644
#include <Ethernet.h>
45+
#include <ESP_Mail_Client.h>
4746

4847
// For using other Ethernet library that works with other Ethernet module,
4948
// the following build flags or macros should be assigned in src/ESP_Mail_FS.h or your Custom_ESP_Mail_FS.h.

examples/SMTP/External_Client/EthernetClient/ESP8266/ESP8266.ino

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,9 @@
4242

4343
#include <Arduino.h>
4444

45-
#include <ESP_Mail_Client.h>
46-
4745
// https://github.com/arduino-libraries/Ethernet
4846
#include <Ethernet.h>
47+
#include <ESP_Mail_Client.h>
4948

5049
// For using other Ethernet library that works with other Ethernet module,
5150
// the following build flags or macros should be assigned in src/ESP_Mail_FS.h or your Custom_ESP_Mail_FS.h.

0 commit comments

Comments
 (0)