Changes between Version 22 and Version 23 of Docs/825gen2/Dev/Networking/SendEmail
- Timestamp:
- 02/29/24 15:27:39 (9 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Docs/825gen2/Dev/Networking/SendEmail
v22 v23 235 235 // Convert second pass image into base64 236 236 char tmp[128]; 237 sprintf_s(tmp, " base64 /usr/share/apache2/default-site/htdocs/images/v%06d_1.jpg > /tmp/attachment", tran.tktNum);238 if( system(tmp) != 0) {237 sprintf_s(tmp, "/usr/share/apache2/default-site/htdocs/images/v%06d_1.jpg", tran.tktNum); 238 if(base64_file_encode(tmp, "/tmp/attachment") <= 0) { 239 239 DEBUG_MSG("Error encoding jpg into base64 [%s]\n", tmp); 240 240 } else {