10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
My company has an email user group email address name that has 35 characters in front of the @ symbol where two of them are dashes. For some reason the mail command fails to send email to this address when I invoke it from the Linux command line. I don't understand the reason for the failure. Below... (5 Replies)
Discussion started by: Phil44
2. Red Hat
I am trying to send a mail using "mail" command in unix. I wanted to give sender name and sender address. I tried different options ,but still it shows only mail address(No name).
mail -s "Alert mail : Nothing running !!!" $email -- -F"Mail Alert" -email@example.com
But I am getting... (4 Replies)
Discussion started by: jaggy
3. UNIX for Advanced & Expert Users
mail -s "hello" firstname.lastname@example.org <kernel-img.conf
send mail, it display the sender is lyang001@lyang001-OptiPlex-9010.corp.ad..com
How can I change the sender to email@example.com to default ? (1 Reply)
Discussion started by: yanglei_fage
4. Shell Programming and Scripting
Can any one help me in this ???
How to change sender's name or email address in Mutt command??? (4 Replies)
Discussion started by: sarathi
5. Shell Programming and Scripting
I want to change the email address of the sender to some alias
FROM:firstname.lastname@example.org needs to be changes to TEST
Please help me. (3 Replies)
Discussion started by: sithara
6. Shell Programming and Scripting
after I check the man page for mail and mailx, I did not find the -r option. But, I have to change the email sender, how can I do it?
... (0 Replies)
Discussion started by: freelong
7. Shell Programming and Scripting
I have a ksh script, in which it sends mail successfully but from root id(email@example.com). I want it to be sent as firstname.lastname@example.org.
I verified man pages of mail, and found '-u userid' option. But it is failing.
code snippet below:
mail -s "subject" -u $customid... (7 Replies)
Discussion started by: Arunprasad
8. Shell Programming and Scripting
I am sending email with attachment using mail and uuencode command.
(echo "$EMAIL_BODY"; uuencode $FILE ATTACH.TXT) || mail "$EMAIL_ID" -s "$EMAIL_SUB"
I am getting email from "email@example.com". I want to change this email address into... (1 Reply)
Discussion started by: balajiora
9. Shell Programming and Scripting
I have a question about the returning message of the mailx command.
if I run a mailx command, how can I know if the email has been sent to the email address? If the email address doesn't exist, is there any error message returned? If yes, how can I get the error message?
Thanks... (3 Replies)
Discussion started by: sheenshine
When sending emails to the outside world, aix present itself as firstname.lastname@example.org.
This is causing some issue with our e-mail server.
So we need to change the name to email@example.com...
Does any one know how this can be accomplished?
Thank you (3 Replies)
Discussion started by: cchiang12
CURLOPT_MAIL_FROM(3) curl_easy_setopt options CURLOPT_MAIL_FROM(3)
CURLOPT_MAIL_FROM - SMTP sender address
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_MAIL_FROM, char *from);
Pass a pointer to a zero terminated string as parameter. This should be used to specify the sender's email address when sending SMTP mail
An originator email address should be specified with angled brackets (<>) around it, which if not specified will be added automatically.
If this parameter is not specified then an empty address will be sent to the mail server which may cause the email to be rejected.
The application does not have to keep the string around after setting this option.
Added in 7.20.0
Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or CURLE_OUT_OF_MEMORY if there was insufficient heap space.
libcurl 7.54.0 December 21, 2016 CURLOPT_MAIL_FROM(3)