Hi all,
I've developed an application that launches Thunderbird Composition window when the user wants to send an e-mail.
The composition window is opened through the Windows command line (http://kb.mozillazine.org/Command_line_ ... underbird)) and it contains some data passed as command line arguments (recipient, object and subject).
This works fine but now I need to pre-compose email with emoji in the mail object. The problem is that emojis are unicode characters but unicode characters are not supported by the Windows command line. When emojis are included in the command line arguments, the result is strange characters in the e-mail.
Do you know any work-around or solution to this?
I've also thought to write subject and object data in a text file to be used to fill up email fields. This avoid to insert emoji characters in the command line arguments but there is no command supported by Thunderbird that allows this operation.
Thanks
Emoji in the e-mail object through command line
-
- Posts: 1
- Joined: October 17th, 2016, 11:45 am
- tanstaafl
- Moderator
- Posts: 49647
- Joined: July 30th, 2003, 5:06 pm
Re: Emoji in the e-mail object through command line
Nope. My impression is that the command line interface is a backwater that the developers will ignore unless something breaks. I know of several smtp utilities that support using .xml files to specify the headers etc. but none that will let you save a copy of the sent message in Thunderbird's profile. http://kb.mozillazine.org/Mail_Utilities#SMTP_utilities
Have you thought of having your application using the SimpleMAPI API to call the default email client (Thunderbird) instead? http://kb.mozillazine.org/MAPI_Support
Have you thought of having your application using the SimpleMAPI API to call the default email client (Thunderbird) instead? http://kb.mozillazine.org/MAPI_Support