Skip to content

Commit fc96bc6

Browse files
committed
Update ci
1 parent 15c5971 commit fc96bc6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/compile_library.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,14 +291,17 @@ jobs:
291291
echo "#include <Ethernet.h>" >> src/main.cpp
292292
echo "#include <ESP_SSLClient.h>" >> src/main.cpp
293293
echo "#define ENABLE_IMAP" >> src/main.cpp
294+
echo "#define ENABLE_SMTP" >> src/main.cpp
294295
echo "#define ENABLE_DEBUG" >> src/main.cpp
295296
echo "#include <ReadyMail.h>" >> src/main.cpp
296297
echo "EthernetClient basic_client;" >> src/main.cpp
297298
echo "ESP_SSLClient ssl_client;" >> src/main.cpp
299+
echo "SMTPClient smtp(ssl_client);" >> src/main.cpp
298300
echo "IMAPClient imap(ssl_client);" >> src/main.cpp
299301
echo "void setup() {" >> src/main.cpp
300302
echo "ssl_client.setClient(&basic_client);" >> src/main.cpp
301303
echo "ssl_client.setInsecure();" >> src/main.cpp
304+
echo "smtp.connect(\"smtp.gmail.com\", 465, \"127.0.0.1\", NULL);" >> src/main.cpp
302305
echo "imap.connect(\"imap.gmail.com\", 993, NULL);" >> src/main.cpp
303306
echo "}" >> src/main.cpp
304307
echo "void loop() {}" >> src/main.cpp

0 commit comments

Comments
 (0)