Community

Question: sendMail() broken in 3.20.10?

18.01.2026 10:56 by Pablo Chamorro

Hello all,
I updated a project from 3.20.4 to 3.20.10, and I checked that the sendMail() function is not sending mails anymore. Debugging the ret variable '0' is returned so, the call is working fine (using the email dynstring option). Trying with the mapping one, the function always returns the severe "Secure Email does not contain the 4 required fields", which have no sense for me.

Someone else notices this? Maybe i'm missunderstanding something?

Below the both options of sendMail I tried:
dyn_string dsEmail = makeDynString("me@me.com", mailFrom, "My Subject", "body");
sendMail(servSMTP, dsEmail, ret, userSMTP, passwdSMTP, encriptTLS, "");



mapping mEmail = makeMapping("subject" , "My Subject",
"from" , mailFrom,
"to" , "me@me.com",
"body" , "body",
"attachment", "",
"username" , userSMTP,
"password" , passwdSMTP,
"tls" , encriptTLS);
sendMail(servSMTP, mEmail, ret);

Responses (0)

Log in to write a response to this question.
Back to list