The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 03: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 03:11 AM
sending email via mail server parmeet UNIX for Advanced & Expert Users 1 02-09-2007 02:39 AM
can not send mail from unix server to company/yahoo mail b5fnpct UNIX for Dummies Questions & Answers 5 11-22-2002 09:24 PM
Send email to another server on AIX owls UNIX for Dummies Questions & Answers 1 09-17-2001 12:02 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-18-2007
parmeet parmeet is offline
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-19-2007 at 12:49 AM..
  #2 (permalink)  
Old 01-18-2007
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,318
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 09:30 AM.. Reason: putting CODE
  #3 (permalink)  
Old 01-19-2007
parmeet parmeet is offline
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]
  #4 (permalink)  
Old 01-19-2007
nathan nathan is offline VIP Member  
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.
  #5 (permalink)  
Old 01-19-2007
Krrishv Krrishv is offline
Registered User
  
 

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

cat <filename>|mailx -s "subject" abc@xyz.com
  #6 (permalink)  
Old 01-19-2007
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
  
 

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

mailx ... < filename

Cheers
ZB
  #7 (permalink)  
Old 01-19-2007
parmeet parmeet is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 11
Quote:
Originally Posted by Krrishv
use mailx command

cat <filename>|mailx -s "subject" abc@xyz.com
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.
Closed Thread

Bookmarks

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:33 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0