Hi,
Can some one help me with the syntax of the mailx that should send an attachment and also some text in the message body together.
When I am using the following syntax it is not sending the attachment but only the message body.
unix2dos -ascii $REPORTFILE | uuencode $PCFILE | mailx -s... (7 Replies)
Sorry for this one ladies and gents, it's probably very easy but I don't know how to, sound familiar :-)
I'm using sendmail on a web server that sends some mail through forms, not many.
I've got sendmail configured to use our networks relay host and everything was working well.
The power... (4 Replies)
Hi,
I want to get the latest added part of a text file sent over the network to for analysis. Is there a tool to use to keep track of which part of a text file that has already been analysed so only the "new" lines will be sent and handled? I have checked a few tools but I still donīt know how to... (3 Replies)
Hi folks,
I want Trailer to be added into the txt file the format is below.
flatfile-> abc.txt
count of the file is 500 records.
I want the trailer in this format: TRAILER|500 (pipe delimeter).
Please suggest the comands ASAP.
Rgds
Ann (5 Replies)
Hi,
We have been trying to send mail with attachment and it is going fine, but when we try to attach a text to the body of the email, we find that the mail is going fine with the body text but the attachment is not going through. We are using ksh.
The command that is successfull without the... (6 Replies)
Hi All,
OS:Red Hat Linux 4 86x64
Below is my shell script which is not sending mail to the mail recipient:
#!/bin/bash
export MAILLIST="xyz@yahoo.com"
cd <path_to_the_script_perf_report.sql>
sqlplus / as sysdba @perf_report.sql
if
then
cat <path_to_the_script/*MONTHLY*REPORT*.lst... (6 Replies)
Hi,
If I want my script to send a mail to multiple recipients I can do the following:
if
then
echo $err_string1 | mailx -s "UAT CPU ALERT" 1@email.com
echo $err_string1 | mailx -s "UAT CPU ALERT" 2@email.com
fi
Can this also be done something like:
... (1 Reply)
Hi,
I have a requirement to send a mail with multiple files attached to it and along with the text message in the mail.
I am trying sumthing like below but it only sends me the text message and no files attached to the mail.
----------------------------------------
( uuencode file1... (1 Reply)
Hi,
We have a requirement to send multiple attachment(pdf and csv) along with html content in a single mail. For that we are using uuencode. It is working for single pdf attachment and html content. But we are unable to send both pdf and csv attachment with html content. Below is the script.... (5 Replies)
Discussion started by: dholea
5 Replies
LEARN ABOUT MOJAVE
curlopt_mail_rcpt
CURLOPT_MAIL_RCPT(3) curl_easy_setopt options CURLOPT_MAIL_RCPT(3)NAME
CURLOPT_MAIL_RCPT - list of SMTP mail recipients
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_MAIL_RCPT,
struct curl_slist *rcpts);
DESCRIPTION
Pass a pointer to a linked list of recipients to pass to the server in your SMTP mail request. The linked list should be a fully valid list
of struct curl_slist structs properly filled in. Use curl_slist_append(3) to create the list and curl_slist_free_all(3) to clean up an
entire list.
When performing a mail transfer, each recipient should be specified within a pair of angled brackets (<>), however, should you not use an
angled bracket as the first character libcurl will assume you provided a single email address and enclose that address within brackets for
you.
When performing an address verification (VRFY command), each recipient should be specified as the user name or user name and domain (as per
Section 3.5 of RFC5321).
When performing a mailing list expand (EXPN command), each recipient should be specified using the mailing list name, such as "Friends" or
"London-Office".
DEFAULT
NULL
PROTOCOLS
SMTP
EXAMPLE
TODO
AVAILABILITY
Added in 7.20.0. The VRFY and EXPN logic was added in 7.34.0
RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
SEE ALSO CURLOPT_MAIL_FROM(3), CURLOPT_MAIL_AUTH(3),
libcurl 7.54.0 February 03, 2016 CURLOPT_MAIL_RCPT(3)