Curl, to send text message


 
Thread Tools Search this Thread
Operating Systems AIX Curl, to send text message
# 1  
Old 04-04-2019
Curl, to send text message

hello friends I need to send a text message MSM by AIX with a function called CURL you have some example of how it is done so that you can help me please

Last edited by joeyg; 04-04-2019 at 10:32 AM..
# 2  
Old 04-04-2019
Quote:
Originally Posted by tricampeon81
hello friends I need to send a text message MSM by AIX with a function called CURL you have some example of how it is done so that you can help me please
Hello tricampeon81,

After these many posts in UNIX.com, we expect you to post here 3 simple things. 1st- Sample of your Input, 2nd- Sample of expected output and 3rd- Most importantly your efforts which you have put in order to solve your own problem.

Also please use CODE TAGS for all samples/codes which you are going to post in your post(s).

Thanks,
R. Singh
These 2 Users Gave Thanks to RavinderSingh13 For This Post:
# 3  
Old 04-04-2019
Quote:
Originally Posted by tricampeon81
hello friends I need to send a text message MSM by AIX with a function called CURL
hmm, by "MSM" i suppose you mean "SMS", yes? curl is not a function, it is a (open-source-) program. You can download it from www.perzl.org. It has a man page you may want to read. See how far that gets ypu and come back if things are still unclear.

I hope this helps.

bakunin
# 4  
Old 04-05-2019
After a quick search, it seems that you would need a 3rd party service that sends text messages as curl is unable to do this alone.

I'm pretty sure there may be a way but it would be more complex than just going through a 3rd party.
# 5  
Old 04-05-2019
Quote:
Originally Posted by samthewildone
After a quick search, it seems that you would need a 3rd party service that sends text messages as curl is unable to do this alone.

I'm pretty sure there may be a way but it would be more complex than just going through a 3rd party.
You are right, cURL is just a "programmable web browser", so to say. You will need to have some (web-) service to actually send SMSs available and you will be able to use cURL to contact/use them from a script. There is no "genuine" way to send SMS from an AIX system (or any other system, for that matter). For any service you use (which always will be "3rd party" in nature) you will need some tool to contact it and make use of it. If this is a web service, cURL (or, alternatively, wget, which is similar in scope) will what you need.

I hope this helps.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

send SMS via curl

I need from aix to send an SMS, you know if the command curl serves me (3 Replies)
Discussion started by: tricampeon81
3 Replies

2. Shell Programming and Scripting

Use curl to send a static xml file using url encoding to a web page using pos

Hi I am try to use curl to send a static xml file using url encoding to a web page using post. This has to go through a particular port on our firewall as well. This is my first exposure to curl and am not having much success, so any help you can supply, or point me in the right direction would be... (1 Reply)
Discussion started by: Paul Walker
1 Replies

3. Post Here to Contact Site Administrators and Moderators

Cannot send new Private Message (PM)

To be able to send PMs your post count must be 10 or greater. You currently have 16 posts. If you have a question for the forum moderators and/or administrators, please post your question here. ...you might want to try searching the forums: What am I doing wrong? (3 Replies)
Discussion started by: -=XrAy=-
3 Replies

4. UNIX for Advanced & Expert Users

Issue in Curl to send http POST request with attachment/multipart

Hi, I am using curl to hit a url using http in solaris 10 using commandline, I want to transfer an attachment(using multipart curl -F) also as a part of the request. If anyone has used kindly help me with the syntax. I am using below command: Code: /usr/local/bin/curl -v... (1 Reply)
Discussion started by: manishmaha
1 Replies

5. UNIX for Dummies Questions & Answers

Send Text message from unix to windows

Hi Buddies, I have a unix client and want to send a message (containg some data) to a windows Database server to query from it and return the result. I shall be so thankfull if you help me out.:b::) Warm Regards, Jessi (1 Reply)
Discussion started by: jessica-adams
1 Replies

6. UNIX for Advanced & Expert Users

To send a message to another system

How to send a message to another unix terminal along with the date specified (4 Replies)
Discussion started by: aajan
4 Replies

7. Shell Programming and Scripting

error-when trying to send the message thru email.

Hi All, I want to send a message through email. I have written below code. But it is not worling. Anybody has idea, why it is not working?. export $file1=$home1/pip1.$$ mailx -s "This Message from unix" abc@yahoo.com< $file1 thanks,Mary. (5 Replies)
Discussion started by: MARY76
5 Replies

8. UNIX for Dummies Questions & Answers

Send message from Unix to PC

What is the best way to send message from Unix script to PC users connected to the box ? I tried "smbclient -M <machine>" but doesn't work. I prefer not to use Samba. Thanks. (3 Replies)
Discussion started by: mnagaya
3 Replies

9. UNIX for Dummies Questions & Answers

send message across terminals

Hello: How would you send message to other unix users logged in into the system now.. what should i verify, before sending them a mail across that displays mesage on the terminal. Any man pages? Thanks, ST2000 (2 Replies)
Discussion started by: ST2000
2 Replies

10. Cybersecurity

Sendmail keep a user from send message

Hello, i have a problem with my sendmail, i want' to keep a user from sending mail, how can i process ? My user is titi, and i don't want' that titi can't send mail via sendmail is it possible ? thnak a lot (1 Reply)
Discussion started by: westside
1 Replies
Login or Register to Ask a Question