diff --git a/examples/protocols/smtp_client/main/smtp_client_example_main.c b/examples/protocols/smtp_client/main/smtp_client_example_main.c index f8d4eeaf40..52f090405f 100644 --- a/examples/protocols/smtp_client/main/smtp_client_example_main.c +++ b/examples/protocols/smtp_client/main/smtp_client_example_main.c @@ -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);