Custom encoding isn't supported.
Unicode is not correctly found and set in some languedges. (Please add your languedges in comments so we can add priorities and testings).
please give me some example of using encoding in MimeMailMessage (AegisImplicitMail)
In my case
mymessage.BodyEncoding = System.Text.Encoding.GetEncoding("ISO-8859-2") and
mymessage.SubjectEncoding = System.Text.Encoding.GetEncoding("ISO-8859-2")
don't work.
Best regards.
Tomaž
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
please give me some example of using encoding in MimeMailMessage
(AegisImplicitMail)
In my case
mymessage.BodyEncoding = System.Text.Encoding.GetEncoding("ISO-8859-2") and
mymessage.SubjectEncoding = System.Text.Encoding.GetEncoding("ISO-8859-2")
don't work.
Status: closed Milestone: 2.0 Labels: encoding Created: Tue Dec 23, 2014 12:36 PM UTC by Sergey Kuznetsov Last Updated: Mon Jan 19, 2015 04:21 AM UTC Owner: nobody
in my code mymessage.Subject and mymessage.Body I would like to use Slovenian characters such as "šđčćž" but when I use them as a result I get question mark such as "?????".
In other programs I use
mymessage.BodyEncoding = System.Text.Encoding.GetEncoding("ISO-8859-2")
mymessage.SubjectEncoding = System.Text.Encoding.GetEncoding("ISO-8859-2")
and it works.
My code:
Dim mail As String = "my e-mail"
Dim host As String = "my host"
Dim user As String = "my username"
Dim pass As String = "my password"
Dim mymessage = New MimeMailMessage()
mymessage.From = New MimeMailAddress(mail)
mymessage.To.Add(mail)
Dim mailer As New SmtpSocketClient(host, 465)
mailer.User = user
mailer.Password = pass
mailer.SslType = SslMode.Ssl
mailer.AuthenticationMode = AuthenticationType.Base64
mailer.SendMail(mymessage)
Thanks for your help.
Best regards.
Tomaž
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
in my code mymessage.Subject and mymessage.Body I would like to use
Slovenian characters such as "šđčćž" but when I use them as a result I get
question mark such as "?????".
In other programs I use
mymessage.BodyEncoding = System.Text.Encoding.GetEncoding("ISO-8859-2")
mymessage.SubjectEncoding = System.Text.Encoding.GetEncoding("ISO-8859-2")
and it works.
My code:
Dim mail As String = "my e-mail"
Dim host As String = "my host"
Dim user As String = "my username"
Dim pass As String = "my password"
Dim mymessage = New MimeMailMessage()
mymessage.From = New MimeMailAddress(mail)
mymessage.To.Add(mail)
Dim mailer As New SmtpSocketClient(host, 465)
mailer.User = user
mailer.Password = pass
mailer.SslType = SslMode.Ssl
mailer.AuthenticationMode = AuthenticationType.Base64
Status: closed Milestone: 2.0 Labels: encoding Created: Tue Dec 23, 2014 12:36 PM UTC by Sergey Kuznetsov Last Updated: Tue May 19, 2015 12:18 PM UTC Owner: nobody
Dear Diego,
Thanks for your comment. This issue is our first priority but since we are open source and there are planty of unicodes it's not that easy for us to confirm all languedges and release. We would appriciate if anyone wants and can vulanteer for testing
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I am using yours AIM client and encoding is also one of my priority(Czech and Slovak language). If you need help with testing or bug fixing, please count me in ;-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I tested library and encoding fix didn't work. Also, is everything OK with this link? Visual studio marked dll version as 1.0.0.1, but from Nuget i get version 1.0.0.2
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No we do not have encoding now but that's good to have it. We are considering adding the encoding in our next releases.
Thanks.
Last edit: Araz Farhang Dareshuri 2014-12-24
Encoding is supported now
Hello,
please give me some example of using encoding in MimeMailMessage (AegisImplicitMail)
In my case
mymessage.BodyEncoding = System.Text.Encoding.GetEncoding("ISO-8859-2") and
mymessage.SubjectEncoding = System.Text.Encoding.GetEncoding("ISO-8859-2")
don't work.
Best regards.
Tomaž
Dear dagstone
What is the error u r facing?
On Tuesday, May 19, 2015, "Tomaž Dagarin" dagarins@users.sf.net wrote:
--
Sent from Gmail Mobile
Related
Tickets: #4
Hello Araz Farhang Dareshuri,
in my code mymessage.Subject and mymessage.Body I would like to use Slovenian characters such as "šđčćž" but when I use them as a result I get question mark such as "?????".
In other programs I use
mymessage.BodyEncoding = System.Text.Encoding.GetEncoding("ISO-8859-2")
mymessage.SubjectEncoding = System.Text.Encoding.GetEncoding("ISO-8859-2")
and it works.
My code:
Dim mail As String = "my e-mail"
Dim host As String = "my host"
Dim user As String = "my username"
Dim pass As String = "my password"
Dim mymessage = New MimeMailMessage()
mymessage.From = New MimeMailAddress(mail)
mymessage.To.Add(mail)
mymessage.IsBodyHtml = True
mymessage.Subject = "naslov šđčćž"
mymessage.Body = "besedilo ŠĐČĆŽ"
mymessage.BodyEncoding = System.Text.Encoding.GetEncoding("ISO-8859-2")
mymessage.SubjectEncoding = System.Text.Encoding.GetEncoding("ISO-8859-2")
Dim mailer As New SmtpSocketClient(host, 465)
mailer.User = user
mailer.Password = pass
mailer.SslType = SslMode.Ssl
mailer.AuthenticationMode = AuthenticationType.Base64
mailer.SendMail(mymessage)
Thanks for your help.
Best regards.
Tomaž
Dear Tomaz,
We are checking the issue , I will update you as soon as I get the results
Thanks for your patience
On Wednesday, May 20, 2015, "Tomaž Dagarin" dagarins@users.sf.net wrote:
--
Sent from Gmail Mobile
Related
Tickets: #4
Hello Araz Farhang Dareshuri,
do you have any information about my problem?
Thanks for your help.
Best regards.
Tomaž
We are truly sorry , we found a huge bug in our encoding and trying to rectify as soon as possible
Hello Araz Farhang Dareshuri,
do you have any new information about encoding?
Thanks for your reply.
Best regards.
Tomaž
Hi Araz Farhang Dareshuri,
There's any fix to this?
Thank you very much
Kind regards
Dear Diego,
Thanks for your comment. This issue is our first priority but since we are open source and there are planty of unicodes it's not that easy for us to confirm all languedges and release. We would appriciate if anyone wants and can vulanteer for testing
Hi, I am using yours AIM client and encoding is also one of my priority(Czech and Slovak language). If you need help with testing or bug fixing, please count me in ;-)
Hi, I will appriciate if you can provide your email, send me a message please
Hi Araz,
Great package your doing here! If you are interested I'm able to contribute for testing de enconding.
Kind regards.
Thanks Dear Sergio, please give me an email address so I can send you the latest fixes
Dear ALL we are sorry for dellays and appriciate your helping suggestions. Please check https://sourceforge.net/p/netimplicitssl/code/ci/master/tree/AegisImplictMail/bin/Release/ for encoding release condidate and give your feedbacks here .
Thanks
Hi, I tested library and encoding fix didn't work. Also, is everything OK with this link? Visual studio marked dll version as 1.0.0.1, but from Nuget i get version 1.0.0.2
I am truly sorry, my mistake, I forgot to push my latest commits, would you please retry? May I know which languedge are you using?
Thanks a lot
Last edit: Araz Farhang Dareshuri 2015-10-02
Although I tried version 1.0.0.2, sending mails in Japanese does not work.
Could you check it?
Have you tried https://sourceforge.net/p/netimplicitssl/code/ci/master/tree/AegisImplictMail/bin/Release/AegisImplicitMail.dll ?
Hello and from me, I am from Greece and I have same issue with greek.
I want to help, there is something I can do and/or to look?
Thx
I think my previous commit solves this matter
Hi Araz Farhang Dareshuri,
I'm using 1.0.3.0
mailMessage.SubjectEncoding = Encoding.UTF8;//(unicode for vietnamese)
mailMessage.Subject = "tiếng việt";
There's any fix to this?
Thank you.