HI Guys,
I want send email from my script ..and i have tried below command still no luck.
( uuencode $Adm "Test.txt" ) | mailx -s "Test" P***.P****@at***.com
mailx -s "test mail" P****.P***@at***.com < $Admin
Any other option....
HI Guys,
I want send email from my script ..and i have tried below command still no luck.
( uuencode $Adm "Test.txt" ) | mailx -s "Test" P***.P****@at***.com
mailx -s "test mail" P****.P***@at***.com < $Admin
Any other option....
Try this also..
#1
/bin/mail -s "Subject" "mail id" < file
#2
uuencode ${file_name} ${file_name} >> file
/bin/mail -s "Subject" "mail id" < file
#3
sendmail
Please post what Operating System and version you are running and what Shell you use?
Does mail to external addresses normally work on this server?
This is not really a technical description of the problem.
What actually happens? Are there any relevant messages in the system mail log (whether they are error messages or not)?