Powered by Invision Power Board


  Reply to this topicStart new topicStart Poll

> Simple Mailing Problem, Simple Mailing Problem
willz99ta
  Posted: Apr 5 2005, 10:31 PM
Quote Post


Newbie
*

Group: Members
Posts: 2
Member No.: 909
Joined: 5-April 05



Crud, I am unable to send a message to anyone with the data I need.

I need to use a program in UNIX like sendmail or mailx to send the following information using a single command line string.
(AKA mailx -r "blah" -s "blah" blah@b.com < blah.txt):

A text file in the body of the message
A specific name in the "From: " portion of the message.
A specific subject line.

mailx is failing when I try to have a specific subject AND a specific name in the From portion.

If anyone knows how to do this in sendmail or another standard UNIX mail function using a single line command line string, any help is greatly appreciated!

Willz99ta
PMEmail Poster
Top
sharkenshtein
  Posted: Apr 6 2005, 11:06 AM
Quote Post


User Level: 2
**

Group: Members
Posts: 16
Member No.: 885
Joined: 25-March 05



hello

i have been using "mail", my single line looks like

mail -s subj to_user@domain < blah.txt

in this coomand subject will be ="subj",
message body will be filled by text from blah.txt
and from name = $user@hostname

Sendmail , as i know didn't allow subject passing through command line...
PMEmail Poster
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | SMTP/IMAP/POP(3) Servers | Next Newest »

Topic Options Reply to this topicStart new topicStart Poll

 



[ Script Execution time: 0.0828 ]   [ 12 queries used ]   [ GZIP Enabled ]




Partners: Cambridge Plus :: <Link Available> :: PIC Boot-loader Utility :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum