Menu

#4 SMS from file, not from mail

open
nobody
5
2009-04-09
2009-04-09
alin_derom
No

Can you send an SMS starting from a simple ASCII file (eg all files in a certain folder with extension .sms (user configurable) . This filename (for instance 20090323153602.sms) will contain the text
%SMS
004597124204
Name : John DOE
Date of Birth : 25/02/1975
Date of analysis : 23/03/2009
PSA 7.2 ng/ml

And then sends everything starting from line 3
Reason : an "old" VMS system will create the ASCI-files, and is not e-mail enabled.
Attention : This example already supposed you can force multiple lines in the SMS. For the actual version with only one line the contents of the file could be :

%SMS
004597124204
Name : John DOE Date of Birth : 25/02/1975 Date of analysis : 23/03/2009 PSA 7.2 ng/ml

Second option : can the file (after sending) be renamed from .SMS to .MSM (or .BAK or whatever) when it is done? Or moved to another directory.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.