Solved

Possible for website to receive and process SMS messages w/images?

Posted on 2013-02-01
5
384 Views
Last Modified: 2013-02-03
A client wishes to give mobile users the ability to send an SMS message with an image attached to it, to their website and have the image be added to a slideshow on the website (after admin approves it).

Is this even possible? Can SMS be sent to a website and can the website/webpage be coded to receive an SMS message and process it (extract the image attachment, etc)?

Sorry for such a generic question but I am an absolute newbie when it comes to SMS. (experienced web dev however :)

If this is even possible, all I would need is to be pointed in the right direction.

Or, if there is some alternative architecture for getting SMS messages with images up to a website, would love to hear how.

Thanks experts!
0
Comment
Question by:rascal
  • 2
  • 2
5 Comments
 
LVL 9

Assisted Solution

by:Aeriden
Aeriden earned 400 total points
ID: 38845572
I would think email/SMTP would be a better mechanism (since you mentioned you were a web developer, I thought I would throw that option out since there are lots of great examples of such solutions) for listening and managing new messages.  There are SMS Gateways that could be used (perhaps someone else will have a good suggestion for that).
0
 
LVL 52

Assisted Solution

by:Scott Fell, EE MVE
Scott Fell,  EE MVE earned 100 total points
ID: 38845618
I would stick with email too.  Most people have smartphones (well depending on your geography) and can email an image.  A gateway for sms will cost you $$.
0
 
LVL 1

Author Comment

by:rascal
ID: 38846172
thought I would throw that option out since there are lots of great examples of such solutions...

Thanks I agree but could you point me to an example of a website that accepts an unsolicited email (not from a web form) and extracts the image? Would it just be a matter of a bacground task connecting via smtp to a mail account via smtp and fetching the emails and extracting the images from them?
0
 
LVL 9

Accepted Solution

by:
Aeriden earned 400 total points
ID: 38848969
There are so many options available and it would depend on your environment, languages, connectivity, etc.  If I were to do it, I would probably use a .NET library (programming in C#) that has POP3 with MIME support if the SMTP server were not in my control.  I would pull emails (using POP3) and extract the images via the message embedded via MIME.  If I needed to keep the messages or review more than the inbox folder, I would use IMAP4 instead of POP3.  Here is an example of this method:

http://www.limilabs.com/blog/download-email-attachments-net

If I had control of the SMTP server, I would set it up to drop the messages in a folder and grab the .msg files and work with those files (deleting them or moving them to an archive folder).
0
 
LVL 1

Author Closing Comment

by:rascal
ID: 38849153
Thank you!
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Working settings for French ISP Orange "Prêt à Surfer" SIM cards for data connections only. Can't be found anywhere else !
Using in-flight Wi-Fi when you travel? Business travelers beware! In-flight Wi-Fi networks could rip the door right off your digital privacy portal. That’s no joke either, as it might also provide a convenient entrance for bad threat actors.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now