![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to send contents of a file to email as a message | ali560045 | Shell Programming and Scripting | 5 | 12-07-2007 08:53 AM |
| send a message through email to 5 people using unix script. | MARY76 | UNIX for Advanced & Expert Users | 3 | 02-05-2007 03:42 PM |
| send a message through email to 5 people using unix script? | MARY76 | Shell Programming and Scripting | 2 | 02-05-2007 03:29 PM |
| Send email where # is in the email address - Using Unix | jingi1234 | UNIX for Dummies Questions & Answers | 1 | 05-23-2005 11:23 AM |
| Unable to send eMail from a UNIX-Host ( using mailx ) to a Outlook-email-addres(Win) | Vetrivela | UNIX for Advanced & Expert Users | 2 | 02-15-2005 10:43 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
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. |
|
||||
|
Unable to resolve this email issue
Hi All,
Still I am unable to resolve this issue. I am trying to sending email to me through unix, but I am not getting it. Any configurations are there from unix side to send email. Please let me know. I wrote following code. mailx -s "This is test message." xyz@yahoo.com. Please help me. |
|
||||
|
Based on what you posted sofar:
export $file1=$home1/pip1.$$ mailx -s "This Message from unix" abc@yahoo.com< $file1 As already pointed the assignment is wrong and should be: export file1=$home1/pip1.$$ But even then, the question is whether that file actually exists. $$ is replaced by the proces id of either the process id of the shell you are using if you execute this on the command line, or the process id of the script in which these line occur. The change a file like that exists is really small unless you created it first. If we are dealing with a script it might be wise to post the full script. When you use these lines, either on the command line or within a script, are there any error messages displayed? If so post them here. If you use a script for which stderr is redirected, remove this redirection to see the errors. If the file does exist and the commands do not generate an error message you can try the following command: mailx -v -s "This Message from unix" abc@yahoo.com< $file1 This to see if mail is properly configured. |
|
||||
|
thanks!
Hi Sboo8,thanks! I will try and let you know.
|
| Sponsored Links | ||
|
|