Skip to content

Properly calling SMTP text sendMail multiple times #141

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

You must be logged in to vote

This is already comment.

//Because of pointer to const char that stores instead of dynamic string, the subject and recipients value can be
//a garbage string (pointer points to undefind location) as SMTP_Message was declared as local variable or the value changed.

SMTPSession MUST be defined in global as it used widely.

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@mobizt
Comment options

@mowmow65
Comment options

@mowmow65
Comment options

@mobizt
Comment options

@mobizt
Comment options

Answer selected by mowmow65
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mowmow65
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