I am trying to send mail with a message that has some non ascii characters like ΓÇô
Mail::Sendmail fails with the error “Wide character in subroutine entry at C:/Perl64/site/lib/Mail/Sendmail.pm line 237”
Any ideas?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There’s a nice article on this very problem at PerlMonks. In short, you need to encode the data you send. An example from the aforementioned article: