LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 02-26-2012, 06:11 AM   #1
devUnix
Member
 
Registered: Oct 2010
Location: Bengaluru, India
Distribution: RHEL 5.1 on My PC, & SunOS / Sun Solaris, RHEL, SuSe, Debian, FreeBSD and other Linux flavors @ Work
Posts: 533

Rep: Reputation: 46
Lightbulb SMS your CV from anywhere, anytime. Instantly


Disclaimer: The blog post which is herewith referred to is not my post and is for example purpose only.


I just came across a blog post here that explains the features of the subject mentioned above.

My question is: How does it work?

The Problem Statement Explained:

Let's say I have a (text) file stored on my hosted web server. I want to forward it to an email address. I am not having any access to the Internet at the moment and want to do that via an SMS from my mobile. How can I achieve this service/facility?

As explained in the blog pointed to, the users would need to send an SMS to a special number with a specific command such as:

Code:
SENDCVTO <emailID>
and the file/CV would be delivered to the recipient's email ID.


What are the things that need to be taken care of to achieve this functionality?

Or is it done by the Mobile Operator/Service Provider who is providing the Special Number and then will perform the specified action?

Any insight on the problem?
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 02-26-2012, 06:19 AM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, Ubuntu, SLES, CentOS
Posts: 1,689

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
@ Reply

Hi devUnix,

It appears to me as some job search portal. From what I can understand from their post is that your resume is already uploaded on their site. So basically you already have an active account thee with your resume. They are providing "Naukri ExpressCV" not sure what that is but appears like a paid service under which you will be able to forward resume to the recruiter. Here is how it works:

1. This site have your account with them with your details in.
2. This site has your resume with them.
3. When you sms on the number mentioned they get an instruction to forward your resume (which they have) to destined email address.

This is the best I can comprehend from that post.
 
Old 02-26-2012, 07:10 AM   #3
devUnix
Member
 
Registered: Oct 2010
Location: Bengaluru, India
Distribution: RHEL 5.1 on My PC, & SunOS / Sun Solaris, RHEL, SuSe, Debian, FreeBSD and other Linux flavors @ Work
Posts: 533

Original Poster
Rep: Reputation: 46
Quote:
Originally Posted by T3RM1NVT0R View Post
3. When you sms on the number mentioned they get an instruction to forward your resume (which they have) to destined email address.

Hi!

Thanks for your reply!


Your 3rd point is what I want to do on my website. Suppose my website is www.example.com and I have my company's profile stored on it. Let's say the profile resides in a simple text file: profile.txt

I want to forward it to your email ID via an SMS from my mobile.

That is what I want to achieve and am not sure on how to do that.

Side Note on the Job Portal Referred to:

The example blog from the job portal does exactly what I mentioned above. It's not a paid service. You pay for the SMS Charge only and it is up to your Mobile Service Provider / Carrier or Operator how much it charges for an SMS. It's sometimes negligible or just as much as a 1 or 2 minutes call would cost. In India, usually mobile operators charge INR 3 for an SMS sent to a Special Number (which is usually of a fewer digits than a mobile number).


The Question Reiterated: I am not asking about the functionality (sending your file/CV via an SMS to an Email Address) the said job portal is providing - rather how it is doing it.
 
Old 02-26-2012, 07:32 AM   #4
eosbuddy
Member
 
Registered: Feb 2012
Location: India
Distribution: Ubuntu, Fedora, Gentoo, Mandrake, RedHat, CentOs
Posts: 30

Rep: Reputation: Disabled
@devUnix from my understanding of the problem, what you want is an sms to email service. Setting up an email server is a "free as in beer" service while an sms service needs a provider (that is not usually free as in beer). So unless you already have a provider that will allow api calls to their server from your email server, you cannot have it set up similar to Naukri.

If you already have a provider for the sms service, you will need to refer to their api documentation to see how to break up your resumes on the server to the appropriate message body (i.e. FROM, TO, SUBJECT, MESSAGE_BODY and ATTACHMENT fields).

Perhaps my reply is not appropriate (or perhaps I've not understood your question correctly)... kindly excuse me if that is the case.

Last edited by eosbuddy; 02-26-2012 at 07:36 AM.
 
Old 02-26-2012, 07:40 AM   #5
devUnix
Member
 
Registered: Oct 2010
Location: Bengaluru, India
Distribution: RHEL 5.1 on My PC, & SunOS / Sun Solaris, RHEL, SuSe, Debian, FreeBSD and other Linux flavors @ Work
Posts: 533

Original Poster
Rep: Reputation: 46
Quote:
Originally Posted by eosbuddy View Post
If you already have a provider for the sms service, you will need to refer to their api documentation to see how to break up your resumes on the server to the appropriate message body (i.e. FROM, TO, SUBJECT, MESSAGE_BODY and ATTACHMENT fields).

You got it!
 
Old 02-26-2012, 10:47 AM   #6
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,512
Blog Entries: 27

Rep: Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174
An alternative to an SMS gateway is to use a cell phone or equivalent such as a GPRS modem attached to the computer (USB or Bluetooth) and use something like gnokii to periodically read any SMS messages from the phone.

Last edited by catkin; 02-26-2012 at 10:48 AM. Reason: BlueTooth -> Bluetooth
 
Old 02-26-2012, 11:06 AM   #7
eosbuddy
Member
 
Registered: Feb 2012
Location: India
Distribution: Ubuntu, Fedora, Gentoo, Mandrake, RedHat, CentOs
Posts: 30

Rep: Reputation: Disabled
As I see it - the issues needed to take care on setting up such a service are:

(a) The server should be able to recognise incoming SMS phone numbers belonging to specific accounts on the server
(b) Needs to verify number with number on resume (i.e. some minimal parsing of document required for validation for security and also means for urging users to update document)
(c) parse sms to identify recipient email id
(d) server side code then takes the recipient email id (SEND TO), pulls in email id of account (FROM) (preferably parsed from document or at least from account settings), adds attachment of the doc and sends the email with some pre-decided body (either updated via user preferences or default settings)
(e) notifies sender via sms that the email has been successfully sent (or failure notice)

assuming a large user base, gnokii or phone based system might just not meet the bandwidth requirement.
 
Old 02-26-2012, 12:52 PM   #8
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, Ubuntu, SLES, CentOS
Posts: 1,689

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
@ Reply

Alright. Never had a setup like that so difficult to comment but here is what I think:

1. They have seperate server setup which will receive the sms.
2. This server which receive the sms contains a user database of name, number and email.
3. When this server receives an sms from a number which matches its database it inturn send an email to naurkri.com portal.
4. This email is what triggers the auto forward of your resume from naukri.com.

The logic here is naukri.com is not an email portal instead a job portal. So they might have configured auto-forwarding rules on their servers to trigger an email when they receive an email from their sms server (email to mobile number matching part is already done at sms receiving server).

As eosbuddy said they must have dedicated server for incoming messages.

The thing that is bothering me is they did not mention that you should send sms from your registered mobile number in that link or I might have just overlooked it.

Another thing they mentioned that the recruiter will receive email from my registered email address. This part is confusing me because when the email reaches the destination what if destination domain performs a reverse lookup for that email id. I am pretty sure that if you have got a gmail.com id you just can't relay the email from their mail server.

So basically if it is working as they said then I would say it also involves tie ups with other companies to work that way.
 
2 members found this post helpful.
Old 02-26-2012, 09:40 PM   #9
eosbuddy
Member
 
Registered: Feb 2012
Location: India
Distribution: Ubuntu, Fedora, Gentoo, Mandrake, RedHat, CentOs
Posts: 30

Rep: Reputation: Disabled
Perhaps, the workaround is to have the companies that post the job to have a local account and to deliver the emails locally (that way, the FROM address could be spoofed).
 
Old 02-26-2012, 09:55 PM   #10
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,512
Blog Entries: 27

Rep: Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174
Spoofing FROM addresses is not a major challenge.
 
Old 02-26-2012, 11:07 PM   #11
devUnix
Member
 
Registered: Oct 2010
Location: Bengaluru, India
Distribution: RHEL 5.1 on My PC, & SunOS / Sun Solaris, RHEL, SuSe, Debian, FreeBSD and other Linux flavors @ Work
Posts: 533

Original Poster
Rep: Reputation: 46
Quote:
Originally Posted by T3RM1NVT0R View Post
The thing that is bothering me is they did not mention that you should send sms from your registered mobile number in that link or I might have just overlooked it.
Yes, it is required that only the registered number be used for sending the SMS. Rated for your contribution to the post! Thanks!
 
Old 02-26-2012, 11:12 PM   #12
devUnix
Member
 
Registered: Oct 2010
Location: Bengaluru, India
Distribution: RHEL 5.1 on My PC, & SunOS / Sun Solaris, RHEL, SuSe, Debian, FreeBSD and other Linux flavors @ Work
Posts: 533

Original Poster
Rep: Reputation: 46
catkin and eosbuddy: Thanks for your contribution as well!

Do we need a tie up with a Mobile Operator to provide us a Special Number? Well, that asserts yes. But would they do anything special from their end too? How about the SMS Server? Would it be on our end or on the Mobile Operator's end? Since it is us who are keeping the user information such as Registered Mobile Number and Email ID. When the sender's mobile number is found in our database we can easily look up the his/her email id for the "From:" field. The "To:" field would already be present in the SMS.
 
Old 02-26-2012, 11:36 PM   #13
eosbuddy
Member
 
Registered: Feb 2012
Location: India
Distribution: Ubuntu, Fedora, Gentoo, Mandrake, RedHat, CentOs
Posts: 30

Rep: Reputation: Disabled
@devUnix:

>>Do we need a tie up with a Mobile Operator to provide us a Special Number? Well, that asserts yes. But would they do
>>anything special from their end too? How about the SMS Server?

I would believe, it depends on the service you take up ... google gives a number of providers:

(a), (b) and (c)

(UPDATE: please google search for sms gateway software, sms gateway software open source for appropriate results, my links above aren't working correctly - apologies).

Again, what I would expect is that:

(customer sms) -> hits your provider -> redirects email to your server -> sends out email

When sending out if you require the email to be sent from xyz@gmail.com, then as T3RM1NVT0R mentioned, you will need a tie up with gmail. Alternatively (consequently, avoiding a tie up with third parties) instead of sending out email, you can send email locally to an account owned by the job company and use the from address of xyz@gmail.com normally (so when they reply to the email, the reply will go out of the server).

The support you get from your sms provdider depends on their TOS - but what you might want to consider is something that complies with regulations in India (that way as a startup you don't get into trouble with authorities).

Hopefully this helps.

Last edited by eosbuddy; 02-26-2012 at 11:42 PM. Reason: The last link was not correct.
 
Old 02-27-2012, 12:17 AM   #14
devUnix
Member
 
Registered: Oct 2010
Location: Bengaluru, India
Distribution: RHEL 5.1 on My PC, & SunOS / Sun Solaris, RHEL, SuSe, Debian, FreeBSD and other Linux flavors @ Work
Posts: 533

Original Poster
Rep: Reputation: 46
It seems gnokii is meant for a Mobile Phone Devices (primarily Nokia mobile phones). So, how it cannot be of any use as we need to configure a Linux Server and not a Mobile Phone to handle incoming SMSes from registered users.

Checked out some docs and general information on gnokii at:

http://gnokii.org/faq.shtml
 
Old 02-27-2012, 12:26 AM   #15
devUnix
Member
 
Registered: Oct 2010
Location: Bengaluru, India
Distribution: RHEL 5.1 on My PC, & SunOS / Sun Solaris, RHEL, SuSe, Debian, FreeBSD and other Linux flavors @ Work
Posts: 533

Original Poster
Rep: Reputation: 46
eosbuddy:

(customer sms) -> hits your provider -> redirects email to your server -> sends out email


That is exactly what one of my colleagues explained. My current organisation is involved in MMS traffic handling. Let me see if I can get any information from it. The developers are my colleagues so I will see if they can be of any help on it.

Side Note:

We all use this kind of service at some time, for examples: You send a request to your mobile operator to send you your e-bill to your email id; you apply for a job from your mobile phone by sending an SMS "Apply <Job ID>" to your job portal's number they have provided you with; and so on.
 
  


Reply

Tags
file, forward, sms


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GSM device for sending SMS messages: Siemens TC35 SMS Wireless Module UART/232 bicpen Linux - Hardware 1 01-12-2012 07:42 AM
python 2.7 anytime? metageek Slackware 8 03-05-2011 01:31 PM
Alsa 1.0.6 anytime? jeru Debian 1 08-22-2004 03:08 AM
freeola anytime connection petearmitage Linux - Networking 7 05-12-2004 04:57 PM
Why Linux will not take over Microsoft anytime soon TexasDex General 89 12-09-2003 08:56 AM


All times are GMT -5. The time now is 10:41 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration