Junk email

Hello,

I am using a mailing statement in unix as follows

echo " Files are available at the designated FTP folder location \n \n $(ls *)"| mailx -m -s " files are available" X@y.com

But email is going to my junk folder instaed inbox. Can anyone pls advise..I need to get my email to Inbox.

Don't think it is related to the send command. Check you email program on the receiving end - sometimes simply marking something as 'no spam' will help it learn how to recognize the email as valid. Another trick is to add the 'sender' email address (what will appear as sender) to you address book at y.com