arothe
Posts: 1
Joined: 30.Jul.2009
Status: offline
|
Hi, We use Faxmaker with an Email2Fax gateway, documents are automatically sent by our database. Now it is important to interpret the incoming fax answers. The problem is, that the content is language-specific. I'm looking for a method to get the answer emails in a format, which a database procedure can automatically parse and can store the recognized status code within the database. The subject always ends with "[::resend=". The from-header of the mail can be matched with a specific mail address. Now I could parse the content of the message, but I have to recognize the language first. Can I simplify this? Is there a configuration switch to send answers only in one language? Can I get fax answers in XML? Here is an example of a german fax answer e-mail: ********************************************************* FAXSENDEBERICHT ********************************************************* Betreff: Erfolgreich: PhOSCo.NG generated fax (Fax gesendet an xxxxx) Absender: xxxxxxxxx Absender E-Mail: xxxxxxxxx@xxxxxxxxxxx.de Status: Sent Datum/Uhrzeit: 22.07.2009 15:46:57 Geschwindigkeit: 14400 bps Verbindungsdauer: 07:46 Seiten: 2 Seiten gesamt: 2 Auflösung: Fine Remote-ID: +49xxx xxxxxxxxxxxx Leitungsnummer: 0 Wiederholungsversuche: 0 Beschreibung: Fax erfolgreich verschickt : Success ********************************************************* I'm interested in the lines "Status", "Seiten" and "Datum/Uhrzeit". In English the lines could start with "Status", "Pages" and "Date/Time". So I have to check the used language first before I can get the important information. Thanks a lot Andre
< Message edited by arothe -- 31.Jul.2009 1:30:33 AM >
|