Send message from AIX UNIX server


 
Thread Tools Search this Thread
Operating Systems AIX Send message from AIX UNIX server
# 1  
Old 03-20-2013
Send message from AIX UNIX server

Hi,

I want to send SMS from my AIX unix server. Could you please help me?

US Service provider: AT & T

I tried the below command but message not received.

Code:
echo "test msg" | /usr/bin/sendmail -v <mobilenumber>@mobile.att.net


Last edited by zaxxon; 03-20-2013 at 06:58 AM..
# 2  
Old 03-20-2013
Check if your mail passed your Mail Server/Services.
# 3  
Old 03-20-2013
yes...I received the below information....

Code:
8XXXXXXX8X@mobile.att.net... Connecting to XXXXX.net. via relay...
220 XXXXX.net ESMTP Sendmail Switch-3.4.4/Switch-3.4.4; Wed, 20 Mar 2013 06:05:31 -0400
>>> EHLO XXXXX.net
250-XXXXX.net Hello XXXXX.net [172.13.61.124], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE 41943040
250-DSN
250-STARTTLS
250-DELIVERBY
250 HELP
>>> MAIL From:<immgr@XXXXX.net> SIZE=9
250 2.1.0 <immgr@XXXXX.net>... Sender ok
>>> RCPT To:<8XXXXXXX8X@mobile.att.net>
>>> DATA
250 2.1.5 <8XXXXXXX8X@mobile.att.net>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 r2KA5VUt006607 Message accepted for delivery
8XXXXXXX8X@mobile.att.net... Sent (r2KA5VUt006607 Message accepted for delivery)
Closing connection to XXXXX.net.
>>> QUIT
221 2.0.0 si5.svr.us.jpmchase.net closing connection

Moderator's Comments:
Mod Comment Start using code tags - you got plenty of posts and also 2 PMs with a guideline. X-ed that phone number. Thank Michael Felt, not me Smilie

Last edited by zaxxon; 03-20-2013 at 11:35 AM..
# 4  
Old 03-20-2013
Check/ask your SMS Gateway provider?
# 5  
Old 03-20-2013
I am wondering - is no message being sent because there is no message?
The following is an empty message!

Code:
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 r2KA5VUt006607 Message accepted for delivery

You said you echoed "Test message" via a pipe, but I do not see that "test message" in the example you posted.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Send a file from AIX to PCOMM server

Hi folks, I am having an issue here.Currently, my system sends a file from AIX using CICS program to mainframe . However, Now I need to send file from AIX using CICS program or any other alternative to PCOMM server. Can anyone enlighten me !! Rgds, Targetshell (4 Replies)
Discussion started by: targetshell
4 Replies

2. Shell Programming and Scripting

Send email from sendmail on AIX using exchange server as SMTP server

i am new in AIX i am trying to write a script to take a backup for specific files on server to and check error log if backup success send email to administrator , script done except for sending mail , i try to configure sendmail on aix to use our exchange server to send emails but still get error... (0 Replies)
Discussion started by: ahmed_salah
0 Replies

3. AIX

send mail configuration in AIX server

Hi All, How to configure sendmail service in AIX server ? Please tell me what all changes has to be made in sendmail.conf file. Please help in this issue to configure it. Thanks jack (1 Reply)
Discussion started by: jack00423
1 Replies

4. 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

5. AIX

how to configure server to send email in AIX

Hi, anyone can guide me how to configure server to send email in AIX. My server is in a closed network, what do I need to configure and how? SMTP gateway? mail server? Thanks and best regards Solomon (4 Replies)
Discussion started by: chongkls77
4 Replies

6. UNIX for Dummies Questions & Answers

AIX send mail with HTML message body and a binary attachment

I'm trying to script sending an e-mail message on an AIX 5.x server with the following requirements: 1. command line switch to specify file name containing message body in HTML format 2. command line switch to specify file name of a binary attachment 3. command line or input file to specify... (4 Replies)
Discussion started by: G-Man
4 Replies

7. UNIX for Advanced & Expert Users

send a message through email to 5 people using unix script.

Hi All, I want to send a message through email to 5 people in unix script. Please let me know, how to do it.Please do reply it is urgent. Thanks, Mary. (3 Replies)
Discussion started by: MARY76
3 Replies

8. Shell Programming and Scripting

send a message through email to 5 people using unix script?

Hi All, I want to send a message through email to 5 people in unix script. Please let me know, how to do it.Please do reply it is urgent.How to do it?Please reply.thanks! Thanks, Mary. (2 Replies)
Discussion started by: MARY76
2 Replies

9. 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

10. UNIX for Dummies Questions & Answers

Send email to another server on AIX

I am trying to send an email to another server but i don't seem to be able to do it. I can receive mail form other servers but not send out. I am using IBM AIX 4.x Any knows whcih configuration file i need to set ? or any network port to look out for ? (1 Reply)
Discussion started by: owls
1 Replies
Login or Register to Ask a Question