Menu

#1 Blank Spaces at the end of the message

open
nobody
None
5
2003-01-23
2003-01-23
No

I use your mail2sms to send mails to my phone trough a
sms server, lately i discovered that i can send ring tones
to my phone only sending the //sckl code in several
parts to the phone mail, but the mail2sms adds a blank
space at the end of the ring tone and also any message
so the ring tones arrives bad to my phone, all i want is
delete that blank space at the end of the message
for example if the massage says "I miss you" it reachs
the phone "i miss you " please tell me how do i remove
this blank space i use the mail2sms this way

in the .forward file in my user i have

\user, "|/usr/bin/mail2sms -c /usr/bin/mail2sms2.conf -p
6666666"

where 6666666 is the phone number of my cell pohone

in mail2sms.conf i have

output: "$body"
run: /usr/bin/smssend provider.sms $phone "$message"

i have tried every kind of regex before the output

like this

search: "$ +"
replace:

that is only one of the things i have tried but nothig
works... allways apears than blank space... please how
do i do?

Thanks a lot

Jhorbis Rios

Discussion

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.