Skip to content

Email with attachments for all #133

Answered by mobizt
froussel asked this question in Q&A
Discussion options

You must be logged in to vote

You can assign all config properties and all input parameters of functions in this library that accepted string with Arduino String, std::string, const char*, chars array, string literal, flash string pointer (F and FPSTR).

In the examples, it use F() macro to show that the library support F() string for input too.

Examples:

String mail1 = "john1@smith.com";
std::string mail2= "john2@smith.com";
const char *mail3 = "john2@smith.com";

session.login.email = "john@smith.com";
session.login.email = F("john@smith.com");
session.login.email = FPSTR("john@smith.com");
session.login.email = mail1;
session.login.email = mail2;
session.login.email = mail3;

String recp_name= "steve";
String recp_e…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@froussel
Comment options

@froussel
Comment options

@mobizt
Comment options

@froussel
Comment options

Answer selected by froussel
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@froussel
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants