- This topic has 3 replies, 1 voice, and was last updated 3 years, 6 months ago by .
- You must be logged in to reply to this topic.
Hello, I wanted to put this topic instead in the “mischiant’s library” section, but I did not succeed. So as my program runs on Arduino Mega and Shield Ethernet W5100 and W5500 … (Even if this has nothing to do with my question!)
I use the following code to configure the sender of the mails:
String numRuche="2";
String expediteur = “Ruche N °”+ numRuche;
uint16_t SMTP_PORT = 587;
const char* smtp_server = “smtp.laposte.net”;
const char* email_login = “mon mail@laposte.net”;
const char* email_from = “monmail@laposte.net”;
const char* name_from =expediteur.c_str();
const char* email_password = “password”;
EMailSender emailSend(email_login,email_password,email_from,name_from,smtp_server,SMTP_PORT);
Sending email works well, but the ° symbol is not displayed correctly according to the messaging I get (with windows live mail for example) sender Ruche N
With Orange messaging a symbol other than the ° (see screenshots)
How can I display the ° symbol in the sender name of emails?
Thank you
PS: I can’t find how to send an image (screenshot I’m sending this to your orange messenger … sorry
thanks again
Hi Gilles,
I think that ° isn’t a character UTF-8, but I set UTF-8 encoding.
Bye Renzo
The degree sign exists in UTF 8: Degree sign ° & # 176;
https://www.periodni.com/fr/codage_unicode_utf-8.html
If I’m not mistaken…
Someone would know how to make it appear in the string of the character of the sender of an email?
Thank you
Hi Gilles,
I must check if I must add encoding on subject.
Bye Renzo
More
3D Printer 3D printer upgrade ABB Arduino Arduino IDE Arduino SAMD boards Aurora AWS CNC Cyclone PCB Factory Cyclone PCB Factory how to build It Display DynamoDB E32 E70 EByte esp01 esp32 esp8266 File System Firmware i2c Library LoRa MicroPython Milling PCB My PCB Networking PCB pinout Power saving Raspberry Pi REST API RF rp2040 SD Card Sensors Sleep and Wake UP SPI STM32 Temperature Tutorial Web Server Wemos D1 mini WiFi