mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Fixed content type of attachment
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
This commit is contained in:
parent
81de14b505
commit
458dbaf0f1
@ -449,7 +449,7 @@ static void smtp_client_task(void *pvParameters)
|
||||
|
||||
/* Attachment */
|
||||
len = snprintf((char *) buf, BUF_SIZE,
|
||||
"Content-Type: image/image/png;name=esp_logo.png\n"
|
||||
"Content-Type: image/png;name=esp_logo.png\n"
|
||||
"Content-Transfer-Encoding: base64\n"
|
||||
"Content-Disposition:attachment;filename=\"esp_logo.png\"\r\n\n");
|
||||
ret = write_ssl_data(&ssl, (unsigned char *) buf, len);
|
||||
|
Loading…
Reference in New Issue
Block a user