Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

e-mail

Status
Not open for further replies.

Anakim

Programmer
Aug 4, 2000
5
GB
Using a service like Genie.co.uk I can send from email a SMS message to a mobile phone.&nbsp;&nbsp;This is very handy if a batch job falls over to auto-notify a support person.&nbsp;&nbsp;I can currently do this through Windows/VB and I know it can be done through UNIX.&nbsp;&nbsp;But how do I go about setting up a mail exchange through UNIX and what would the script command look like?&nbsp;&nbsp;<br><br>Please let the answer be fairly easy as I'm a UNIX visitor rather than resident!<br><br>
 
I think you are going to have 2 main problems here.&nbsp;&nbsp;The first is that you will need to set up a mail server on the Unix server.&nbsp;&nbsp;This then introduces the problem of connecting your server to the Internet, and all of the security issues that this raises.<br><br>Next, you will need to have a shell script that is used to send the e-mail message.&nbsp;&nbsp;This script would contain a line similar to:<br><FONT FACE=monospace><br>echo &quot;This is my SMS message to be sent via e-mail&quot; ¦ mailx -s&quot;Some subject line&quot; <A HREF="mailto:1234567890@sms.genie.co.uk">1234567890@sms.genie.co.uk</A><br></font><br><br>The big issue is going to be &quot;How am I going to get e-mail from the Unix box to the Internet?&quot;&nbsp;&nbsp;If you already have a connection in place, post back here and we can start looking at how to tell your mail server to pass e-mail to the 'net. <p> <br><a href=mailto: > </a><br><a href= > </a><br>--<br>
0 1 - Just my two bits
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top