05-05-2012
Could you please let us know a bit more about your environment first? What UNIX variant you are using, which SMTP server, etc. etc.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
I have a specific requirement hope you guys can help me resolve this problem.
I want to send an email when a specific user logs in..
Eg: My User ID on the Unix box is VENKYA when I log into the System can we send a mail that I logged in.
I am on a Sun Solaris Server.
... (3 Replies)
Discussion started by: venkyA
3 Replies
2. Shell Programming and Scripting
Hello guys,
I'm in desperate need. I need to write a script that behaves like a "mail" shell program.
I've a base of the program -menu and so on, but what I cannot do is how to read messages from /var/mail/user. I would like to separate them as "mail" program does, but I;m just a newbie and... (21 Replies)
Discussion started by: petoSVK
21 Replies
3. UNIX for Dummies Questions & Answers
Hi
Is there any way I can know whether my mail has been delivered successfully or not....?
I am using a shellscript which configures the header and the message body and also includes configurations for attachments. I use 'sendmail' to send the mails....
I have to resend the failed emails after... (7 Replies)
Discussion started by: Amruta Pitkar
7 Replies
4. Post Here to Contact Site Administrators and Moderators
Is there a way to setup an e-mail job (thru my account) to send me e-mail every time a new
question or response to PERL is entered into a forum?
thanks,
djehresmann (1 Reply)
Discussion started by: djehresmann
1 Replies
5. OS X (Apple)
Hi,
I'm brand new here and looking for a solution:
I'm using mail or mailx. The default reply address is «myshortusername@mylongusername.local» which makes absolutely no sense for anybody receiving my emails.
But how do I change it? There seem to be many solutions but none for Mac OS X.... (0 Replies)
Discussion started by: gczychi
0 Replies
6. Shell Programming and Scripting
Hi,
I have a program which creates some report and sends it to the users. There are around 15000 users . I guess because of this huge number the mail exchange server is unable to deliver all the mails. So i want to create a log to see who are all the user to whom the report was delivered. I am... (2 Replies)
Discussion started by: gnagendr
2 Replies
7. Shell Programming and Scripting
I am trying to write a script to send a customized mail message to the users listed on the command line by login name only if they are logged in. If no users are listed on the command line an error message is printed. In the mail message I use the users real name from /etc/passwd. I am trying to... (1 Reply)
Discussion started by: alis
1 Replies
8. Shell Programming and Scripting
Hi,
I have a FTP server and a directory location where i will be FTPing the flat file.
My requirement is
After the flat file was generated to the location, i need to write some trigger file or something to inform them that the file was delivered to them.
Please let me know how i can do... (2 Replies)
Discussion started by: srikanth_sagi
2 Replies
9. Solaris
Hi
I seem to have a problem in my solaris 10server, when I type mailx the following pop up:
mailx
mailx version 5.0 Type ? for help.
"/var/mail//moneta": 109 messages 1 new 109 unread
U100 Mail Delivery Subs Thu Sep 17 04:34 133/5631 Warning: could not send m
U101 moneta ... (2 Replies)
Discussion started by: fretagi
2 Replies
LEARN ABOUT MOJAVE
curlopt_mail_auth
CURLOPT_MAIL_AUTH(3) curl_easy_setopt options CURLOPT_MAIL_AUTH(3)
NAME
CURLOPT_MAIL_AUTH - SMTP authentication address
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_MAIL_AUTH, char *auth);
DESCRIPTION
Pass a pointer to a zero terminated string as parameter. This will be used to specify the authentication address (identity) of a submitted
message that is being relayed to another server.
This optional parameter allows co-operating agents in a trusted environment to communicate the authentication of individual messages and
should only be used by the application program, using libcurl, if the application is itself a mail server acting in such an environment. If
the application is operating as such and the AUTH address is not known or is invalid, then an empty string should be used for this parame-
ter.
Unlike CURLOPT_MAIL_FROM(3) and CURLOPT_MAIL_RCPT(3), the address should not be specified within a pair of angled brackets (<>). However,
if an empty string is used then a pair of brackets will be sent by libcurl as required by RFC2554.
The application does not have to keep the string around after setting this option.
DEFAULT
NULL
PROTOCOLS
SMTP
EXAMPLE
TODO
AVAILABILITY
Added in 7.25.0
RETURN VALUE
Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or CURLE_OUT_OF_MEMORY if there was insufficient heap space.
SEE ALSO
CURLOPT_MAIL_FROM(3), CURLOPT_MAIL_RCPT(3),
libcurl 7.54.0 December 21, 2016 CURLOPT_MAIL_AUTH(3)