The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Send mail attachments and have a mail body shibajighosh AIX 1 04-18-2008 10:54 AM
Pull E-mail address from file, send e-mail DC Heard Shell Programming and Scripting 1 01-28-2008 11:23 PM
mail problems - how to send mail on solaris amon SUN Solaris 10 04-06-2006 06:31 AM
I am not able to send mail form unix to other mail accounts. chinnigd UNIX for Dummies Questions & Answers 1 04-06-2006 05:31 AM
can not send mail from unix server to company/yahoo mail b5fnpct UNIX for Dummies Questions & Answers 5 11-22-2002 06:24 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 01-31-2008
kekanap's Avatar
Registered User
 

Join Date: Sep 2003
Location: South Africa
Posts: 35
send mail

hallo Friends

I have a file located under /home/pax/aaa.log

I would like to email this file to xxx@mall.com via a cronjob every morning 5 am.

whats the command line which i should put in my script to archieve this?
Reply With Quote
Forum Sponsor
  #2  
Old 01-31-2008
Bughunter Extraordinaire
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,262
manpages are meant to read them, not to have them read by others.

cat <filename> | mail -s "<subject>" <mail-adress>

bakunin
Reply With Quote
  #3  
Old 02-07-2008
Registered User
 

Join Date: Feb 2008
Posts: 1
script to send mail using SMTP server

Here is a script you can use, if your server does not have sendmail running.

Fantastic Unix: Simple ksh script to sent a mail using SMTP server.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 06:43 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0