nail set header


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting nail set header
# 1  
Old 11-02-2009
Question nail set header

Hi all.

I am kind a new in Linux, so please forgive me if some statements will be dumb.
So for some unknown reason server I am working on is using nail command instead of mail and mailx. I have googled around and fined out that it is possible to set mail header using command mail and option -a. But for nail option -a is attaching files. I tried to read nail manual (over 2000 lines), but I haven't found any alternative way to set headder.
If any body knows how to set header using linux mail client - nail, I would be very greatful.

I am using openSUSE 2.6.16.46-0.12-smp x86_64
version of nail: nail 11.25 7/29/05

Thanks in advance
Ricardas
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Find header in a text file and prepend it to all lines until another header is found

I've been struggling with this one for quite a while and cannot seem to find a solution for this find/replace scenario. Perhaps I'm getting rusty. I have a file that contains a number of metrics (exactly 3 fields per line) from a few appliances that are collected in parallel. To identify the... (3 Replies)
Discussion started by: verdepollo
3 Replies

2. UNIX for Dummies Questions & Answers

Nail command error

Hello all. I am currently using Red Hat Enterprise Linux Server release 5.8 (Tikanga). I have multiple users on this system and intend to use nail command to send out emails. When I enter the command: nail <some-email-address> its accepts the command and sends out an email. But when I... (1 Reply)
Discussion started by: Junaid Subhani
1 Replies

3. Shell Programming and Scripting

HTML + Nail Command

Hello all I am trying to send an email to my Outlook from a Solaris 10 machine using a Nail command. The email is of HTML type but when I receive it in outlook, its in simple text format showing HTML tags as shown below: Command I am using: cat body.lst | /opt/nail-11.25/bin/nail -r... (3 Replies)
Discussion started by: Junaid Subhani
3 Replies

4. Shell Programming and Scripting

awk : Filter a set of data to parse header line and last field of multiple same match.

Hi Experts, I have a data with multiple entry , I want to filter PKG= & the last column "00060110" or "00088150" in the output file: ############################################################################################### PKG= P8SDB :: VGS = vgP8SOra vgP8SDB1 vgP8S001... (5 Replies)
Discussion started by: rveri
5 Replies

5. UNIX for Dummies Questions & Answers

Merge all csv files in one folder considering only 1 header row and ignoring header of all others

Friends, I need help with the following in UNIX. Merge all csv files in one folder considering only 1 header row and ignoring header of all other files. FYI - All files are in same format and contains same headers. Thank you (4 Replies)
Discussion started by: Shiny_Roy
4 Replies

6. UNIX for Dummies Questions & Answers

problem with character @ inside username to use pop3 with nail

Hi: I am trying to read mails using pop3 protocol with the nail client. I have configurated the following files: .mailrc set NAIL_EXTRA_RC=~/.nailrc .nailrc shortcut myisp pop3://developers@afinformatica.com@mail.afinformatica.com set... (2 Replies)
Discussion started by: chemi
2 Replies
Login or Register to Ask a Question
MB_SEND_MAIL(3) 							 1							   MB_SEND_MAIL(3)

mb_send_mail - Send encoded mail

SYNOPSIS
bool mb_send_mail NULL NULL (string $to, string $subject, string $message, [string $additional_headers], [string $additional_parame- ter]) DESCRIPTION
Sends email. Headers and messages are converted and encoded according to the mb_language(3) setting. It's a wrapper function for mail(3), so see also mail(3) for details. PARAMETERS
o $to - The mail addresses being sent to. Multiple recipients may be specified by putting a comma between each address in $to. This parameter is not automatically encoded. o $subject - The subject of the mail. o $message - The message of the mail. o $additional_headers (optional) - String to be inserted at the end of the email header. This is typically used to add extra headers (From, Cc, and Bcc). Multiple extra headers should be separated with a CRLF ( ). Note When sending mail, the mail must contain a From header. This can be set with the $additional_headers parameter, or a default can be set in php.ini. Failing to do this will result in an error message similar to Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing. The From header sets also Return-Path under Windows. Note If messages are not received, try using a LF ( ) only. Some Unix mail transfer agents (most notably qmail) replace LF by CRLF automatically (which leads to doubling CR if CRLF is used). This should be a last resort, as it does not comply with RFC 2822. o $additional_parameter -$additional_parameter is a MTA command line parameter. It is useful when setting the correct Return-Path header when using send- mail. RETURN VALUES
Returns TRUE on success or FALSE on failure. CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 5.0.0 | | | | | | | The Content-Type and Content-Transfer-Encoding | | | headers may be redefined as of PHP 5.0.0. Before | | | this time, the values defined by mb_language(3) | | | are always used. | | | | +--------+---------------------------------------------------+ SEE ALSO
mail(3), mb_encode_mimeheader(3), mb_language(3). PHP Documentation Group MB_SEND_MAIL(3)