#40 SUBJECT UTF-8 greek characters

v1.0 (example)
open
nobody
5
2014-08-13
2014-03-19
Tom
No

I need to send emails with greek letters. The body is OK but the subject dos not like the greek letters. I use the -sf optin fpr the subject and in this file ist the correct subject

"Μετρητή αμεσης προκαταβολή για την παραγγελία/για το Τιμολόγιον <NUMMER> από <DATUM> 03/15/2014"

receiving the mail it comes

"?et??t? aµes?? p???ataß??? ??a t?? pa?a??e??a/??a t? ??µ??????? <NUMMER> ap? <DATUM> 03/15/2014"

here the blat command line

D:\mlmsql\exe\BLAT.EXE "\vegassql\temp\tmp4809638343373751553.txt" -charset UTF-8 -hdrencb -q -to "INFO@RVSOFT.DE" -html -u "user.345" -pw "fxx" -server "SMTP.RVSOFT.DE" -sf subject.txt -ss -ti 10 -try 3

what is wrong ?

Discussion

  • Chip
    Chip
    2014-03-20

    Which version and flavor of Blat are you attempting to use? 32-bit for Win9x/Me? 32-bit for Win2000 and newer? 64-bit?

    Is your subject.txt stored as a UTF-8 or Unicode format, or is it stored as ANSI? It looks to me like your subject.txt is stored as ANSI, which does not support the characters you want to use. You need to store it as Unicode or UTF-8, instead.

    --
    Chip

     
  • Tom
    Tom
    2014-03-20

    Hi Chip

    blat v.3.2.0 (build dec 27 2013 14.38.01)
    64-Bit Windows, full, Unicode

    subject.txt is stored as UFT-8

    I send you the files in the attachment

    tom

     
    Attachments
  • Chip
    Chip
    2014-03-21

    I attached the batch file I ran, and the log file output from it. I ran the same 64-bit version as you, but my email in Windows Live Mail looks right. There is an attached picture showing the email received in Windows Live Mail.

    Which email client are you using to read your messages?

    Chip

    2014.03.21 01:59:58 (Fri)------------Start of Session-----------------
    Blat v3.2.0 (build : Dec 27 2013 14:38:01)
    64-bit Windows, Full, Unicode
    <<<getline<<< 220 smtp.mail.att.net ESMTP ready

    putline>>> EHLO localhost.att.net
    <<<getline<<< 250-smtp.mail.att.net="" <<<getline<<<="" 250-PIPELINING="" <<<getline<<<="" 250-SIZE="" 41697280="" <<<getline<<<="" 250-8="" BITMIME="" <<<getline<<<="" 250="" AUTH="" PLAIN="" LOGIN="" XYMCOOKIE="" Sending="" tmp3163073998562636105.txt="" to="" chip.programmer@att.net="" Subject:="" Μετρητή="" αμεσης="" προκαταβολή="" για="" την="" παραγγελία="" για="" το="" Τιμολόγιον="" <NUMMER=""> από <DATUM>
    Login name is Chip chip.programmer@att.net
    Try number 1 of 3.
    putline>>> AUTH PLAIN *
    <<<getline<<< 235="" 2.0.0="" OK="" putline="">>> MAIL FROM:chip.programmer@att.net
    <<<getline<<< 250="" OK="" ,="" completed="" putline="">>> RCPT TO:chip.programmer@att.net
    <<<getline<<< 250="" OK="" ,="" completed="" putline="">>> DATA
    <<<getline<<< 354="" Start="" Mail.="" End="" with="" CRLF.CRLF="" <<<getline<<<="" 250="" OK="" ,="" completed="" putline="">>> QUIT
    <<<getline<<< 221 Service Closing transmission
    2014.03.21 01:59:59 (Fri)-------------End of Session------------------

     
  • Tom
    Tom
    2014-03-21

    I'm using outlook - you are right, in my debug is the correct subject

    2014.03.21 09:36:47 (Fri)------------Start of Session-----------------
    Blat v3.2.0 (build : Dec 27 2013 14:38:01)
    64-bit Windows, Full, Unicode
    <<<getline<<< 220 mi2 ESMTP

    putline>>> EHLO rvsoft_new.rvsoft.de
    <<<getline<<< 250-mailin02.ims-firmen.de="" Hello="" rvsoft_new.rvsoft.de="" <span="">[92.50.125.10] <<<getline<<< 250-SIZE="" 1048576000="" <<<getline<<<="" 250-8BITMIME="" <<<getline<<<="" 250-PIPELINING="" <<<getline<<<="" 250-AUTH="" PLAIN="" LOGIN="" CRAM-MD5="" <<<getline<<<="" 250-STARTTLS="" <<<getline<<<="" 250="" HELP="" Sending="" tmp3163073998562636105.txt="" to="" INFO@RVSOFT.DE="" Subject:="" Μετρητή="" αμεσης="" προκαταβολή="" για="" την="" παραγγελία="" για="" το="" Τιμολόγιον="" <NUMMER=""> από <DATUM>
    Login name is error@rvsoft.de
    Try number 1 of 3.
    putline>>> AUTH CRAM-MD5
    <<<getline<<< 334="" PDI0MTk0LjEzOTUzOTEwMDRAbWFpbGluMDIuaW1zLWZpcm1lbi5kZT4="putline">>> cnZzb2Z0LmRlNiA1ZjBjNzBiNTIwNTkwNWQzZDIxNzY5MGU5YmJjNDY0Mw==
    <<<getline<<< 235="" Authentication="" succeeded="" putline="">>> MAIL FROM:error@rvsoft.de BODY=8BITMIME
    <<<getline<<< 250="" OK="" putline="">>> RCPT TO:INFO@RVSOFT.DE
    <<<getline<<< 250="" Accepted="" putline="">>> DATA
    <<<getline<<< 354="" Enter="" message,="" ending="" with="" "."="" on="" a="" line="" by="" itself="" <<<getline<<<="" 250="" OK="" id="1WQuwW-0006IE-4M" putline="">>> QUIT
    <<<getline<<< 221 mailin02.ims-firmen.de closing connection
    2014.03.21 09:36:50 (Fri)-------------End of Session------------------

     
    Last edit: Tom 2014-03-21
    Attachments
  • Chip
    Chip
    2014-03-22

    I sent the same test message to my office where we use Outlook 2007, and the subject line appeared correctly. Which version of Outlook are you using?

    Chip

     
    Last edit: Chip 2014-03-22
    Attachments
  • Tom
    Tom
    2014-03-22

    Hi Chip

    it seems to be a problem with Outlook but not only by my Outlook the same by a customer. I added th greek language in Office but nothing has changed. I searched in the inernet but I found nothing. Don't know what to do.

    Tom

     
  • Chip
    Chip
    2014-03-22

    Tom,

    Please send me an email to my home account that is shown in the above messages. I want to send you the latest executable to see if anything changes for you.

    As a suggestion, try using -8bitmime with your command line.

    Thanks,
    Chip

     
    Last edit: Chip 2014-03-22
  • Tom
    Tom
    2014-03-23

    Hi Chip

    did not understand waht you mean. What shell I send to you and what will you send to me ??

    Tom

     
  • Chip
    Chip
    2014-03-29

    This is version 3.2.1 64-bit. Please try this with your Outlook.

    Thanks,
    Chip

     
    Attachments
  • Chip
    Chip
    2014-04-02

    1. Which version of Outlook are you using?

    2. Are you using an anti-virus program to scan your incoming Outlook emails? If yes, which AV program are you using?

    3. Run your file again, using the -SuperDebugT and -log options to create a debug log file. Print this debug file, and take it with you to the office.

    4. In Outlook, save the message as a .msg file, then open it with Notepad. Compare the headers to your printout from step 3 above.

    5. Are the headers exactly the same? If there are differences, which ones are different?

    6. If you can, send the received .msg file and your debug log file to me at home. My home email address is chip.programmer@att.net. I might be able to figure out what happened.

    Chip