The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to configure server to send email in AIX chongkls77 AIX 4 05-07-2008 12:25 AM
How to know whether I am able to send email from unix server or not? siba.s.nayak UNIX for Advanced & Expert Users 0 09-12-2007 12:11 AM
sending email via mail server parmeet UNIX for Advanced & Expert Users 1 02-08-2007 11:39 PM
can not send mail from unix server to company/yahoo mail b5fnpct UNIX for Dummies Questions & Answers 5 11-22-2002 06:24 PM
Send email to another server on AIX owls UNIX for Dummies Questions & Answers 1 09-17-2001 09:02 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 01-17-2007
Registered User
 

Join Date: Jan 2007
Posts: 11
how to send mail from server to client's email-id

i want to send email from server to the client's email-id. server is solaris. please help me out.i want to send mail to the email-id not to the var/spool/mail.

Last edited by parmeet; 01-18-2007 at 09:49 PM.
Reply With Quote
Forum Sponsor
  #2  
Old 01-18-2007
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,200
Code:
[sysgate@hostname ~]$ mail sysgate
Subject: test
test
.
Cc:
[sysgate@hostname ~]$ mail
Mail version 8.1 6/6/93.  Type ? for help.
"/var/spool/mail/sysgate": 1 message 1 new
>N  1 sysgate@hostname.  Thu Jan 18 15:26  16/764   "test"
& Interrupt
&
If I did not understand you correctly, please put some more information on what exactly you are trying to achieve.

Last edited by sysgate; 01-18-2007 at 06:30 AM. Reason: putting CODE
Reply With Quote
  #3  
Old 01-18-2007
Registered User
 

Join Date: Jan 2007
Posts: 11
i need to send mailto the email-id not the usuall mail at usr/var/mail.




QUOTE=sysgate]
Code:
[sysgate@hostname ~]$ mail sysgate
Subject: test
test
.
Cc:
[sysgate@hostname ~]$ mail
Mail version 8.1 6/6/93.  Type ? for help.
"/var/spool/mail/sysgate": 1 message 1 new
>N  1 sysgate@hostname.  Thu Jan 18 15:26  16/764   "test"
& Interrupt
&
If I did not understand you correctly, please put some more information on what exactly you are trying to achieve.[/quote]
Reply With Quote
  #4  
Old 01-18-2007
Supporter
 

Join Date: Jul 2006
Posts: 156
You need to be more specific. What "client" are you talking about?

Email in UNIX/Linux is generally stored in /var/spool/mail - if you email a user on the UNIX server, the mail will end up in that directory.
Reply With Quote
  #5  
Old 01-18-2007
Registered User
 

Join Date: Dec 2006
Location: CA,United States
Posts: 174
use mailx command

cat <filename>|mailx -s "subject" abc@xyz.com
Reply With Quote
  #6  
Old 01-18-2007
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
UUoC

mailx ... < filename

Cheers
ZB
Reply With Quote
  #7  
Old 01-19-2007
Registered User
 

Join Date: Jan 2007
Posts: 11
Quote:
Originally Posted by nathan
You need to be more specific. What "client" are you talking about?

Email in UNIX/Linux is generally stored in /var/spool/mail - if you email a user on the UNIX server, the mail will end up in that directory.
sir,
clients are those nodes which can run processes on the server.
now whenever any process is over i need to send mail from the server side to the email id of the person who is logged on that node.
we have the database of the nodes and their email-id's.
so the task is how can we send the email from server to the email-id.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 02:37 AM.


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