Hi, I am trying to include a message along with an attachment with an email using mailx on AIX.
uuencode Test.dat Test.dat| mailx -s 'Testing' mymail@yahoo.com < MESGFILE
This only gives me the contents of MESGFILE as my message.
If I remove the < FILE I recieve the attachment.
What... (4 Replies)
Friends,
I have a datafile that have unknown a number of CHARACTERS.
if the datafile have more than 1 character and less than 20
email me the file
rm datafile
if the datafile have more than 20 characters
split the datafile into 20 characters in each file
email datafileaa
email... (4 Replies)
I'm trying to install : Procmail 3.22
onto a : E10K domain
running : Solaris 2.6 Generic_105181-35
I untar the file to /stage/procmail-3.22.
When I run the command: /usr/ccs/bin/make install
I get the following message, then the install aborts:
License Error : Cannot find license... (2 Replies)
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. (5 Replies)
i have a file new1.txt
i want to send the contents of that file as a message to email ali@sms.com
i m using ksh script.........
plz help me (5 Replies)
I have created a script which will monitor disk space in unix, it will send an email alert that will notify the specified receipients. I used echo in the mailx command but the email doesnt contain any message. I have used printf to store the message ($message2) and when tried to display on the... (2 Replies)
I am using mailx command to send emails from the Unix command prompt. Whenever email is not sent it is not giving me any message "Email not sent" or failure delivery notice for the wrong email addresses. When I give correct email address I am able to receive them correctly.
Can anyone please... (0 Replies)
ssmtp has been running well under Kubuntu 12.04.1 for plain text messages. I would like to send html messages with ssmtp -t < /path/to/the/message.txt, but I cannot seem to get the message.txt file properly formatted. I have tried various charsets,
Content-Transfer-Encoding, rearranging the... (0 Replies)
I am making use of the following code to display the results of my txt file in an email:
mail -s 'Count Validation Test Comparison Results' Ronit@XYZ.com < Count_Validation_Results_`date +%m%d%Y`.txt
Email Output:
----------Query 1 Count Validation Results--------
Source count is 4
Target... (7 Replies)
Discussion started by: ronitreddy
7 Replies
LEARN ABOUT HPUX
smfi_replacebody
smfi_replacebody(3N)smfi_replacebody(3N)NAME
smfi_replacebody() - replaces the data in the sendmail message body
SYNOPSIS PARAMETERS
ctx Specifies the opaque context structure.
bodyp Specifies a pointer to the start of the new body data, which does not have to be null-terminated. If bodyp is set to NULL, the
length of the body is considered to be 0 (zero). The body data must be in CR or LF form.
bodylen Specifies the number of data bytes pointed by bodyp.
DESCRIPTION
replaces the body of the current message. can be called only from the routine and can be called more than once. When is called more than
once, the subsequent calls append data to the new body of the message.
Notes
o As the message body may be very large, setting may significantly affect filter performance.
o If a filter sets but does not call the original body remains unchanged.
o The filter order is important for the routine. Filters placed later in the sequence will observe the changes
RETURN VALUE
fails and returns due to the following reasons:
o The value of bodyp is equal to NULL and the value of bodylen is greater than 0.
o Changing the body in the current connection state is invalid.
o Network error occurs.
o The is not set when the function is called.
AUTHOR
was developed by the Sendmail Inc.
SEE ALSO smfi_chgheader(3N), smfi_insheader(3N), smfi_addrcpt(3N), smfi_addheader(3N), smfi_delrcpt(3N).
on
smfi_replacebody(3N)