10-05-2007 10:14 PM
10-06-2007 07:49 AM
10-08-2007 10:26 AM
01-18-2008 09:38 PM
Hi All,
Sorry for the big delay in reply.
I was working with another project so have to hold the email application for long time.
Now i changed my application so that the message is being sent as an attachment.But still getting extra characters.But now no unrecognised characters.
In my application i was sending message by using SMTP Email Send Message .
When we open the attachment its perfectly alright.But when it is decoded by another application its getting some extra characters.Furnished below is the original message send and the message that is stiffed with extra characters.
Hope somebody can help me.
ORIGINAL MESSAGE
DATASTART
StnNo=P300004,StnName=TamanHijau,Date=20080116,Time=201014,Rvr=02820|02600|00000,Flow=0000|0000|0003,Pump=OFF|OFF|OFF,Pressure=0016
StnNo=P300007,StnName=WangsaMas,Setapak,Date=20080116,Time=202720,Rvr=02200|01240,Flow=0000|0003,Pump=OFF|OFF,Pressure=0243
StnNo=P300052,StnName=TamanIxora,Date=20080116,Time=204416,Rvr=03830|00000,Flow=0067|0000,Pump=OFF|OFF,Pressure=0575
StnNo=P300031,StnName=R/PTmnLagendaMas,Date=20080116,Time=205616,Rvr=-99.99|03550,Flow=0000,Pump=OFF|OFF,Pressure=0119
DATAEND
Messge with extra characters.
01-19-2008 08:25 PM
01-20-2008 09:56 PM
Hi Ravens Fan,
Thank you so much for the reply.
In the application i am using the characters like =,|, -
The whole message is manipulated as string in the block diagram.So the special charactes also manipulated as string or part of string.
Yes ...all equal to symbols are converted as =3D.And i noticed that the negative symbol also getting some deformations.But to surprise the symbol '|' (pipeline symbol)is not getting deformad.
Is there any solution for my problem?
Thanks again
01-21-2008 09:39 AM
"When we open the attachment its perfectly alright.But when it is decoded by another application its getting some extra characters"This seems contraditory. How are you opening the attachment to say it's "perfectly alright", and what other application are you using to say it's getting some extra characters.
01-21-2008 07:04 PM
01-22-2008 09:40 AM
01-23-2008 03:18 AM - edited 01-23-2008 03:21 AM
No, no, smercurio. This is charcter encoding here. In older versions of LabVIEW you could specify what character encoding to use when sending an email through the SMTP VIs. But that gave problems since people in certain locales used certain characters that where not transfered right when the wrong encoding was specified, and that encoding stuff is not understood by most people at all, so the wrong selected encoding was rather the rule than the exception. In newer versions of LabVIEW do the SMTP VIs handle the encoding automatically based on the currently used locale on the system.
@smercurio_fc wrote:
Then it sounds to me like this other application is not decoding the attachment correctly, especially if you looked at the attachment yourself after you received it and verified it's correct.