Sponsored Content
Top Forums Shell Programming and Scripting Mailx command to include sender address Post 302977597 by jim mcnamara on Wednesday 20th of July 2016 08:35:31 AM
Old 07-20-2016
Code:
mailx -r "sender name string goes here"   [rest of command options]

Experiment with that and see if you get what you want.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

mailx sender address customisation

Hi All, I'm on UNIX -Solaris... I'm trying to send mail usin Mailx..... The script is working fine and attachments are also being sent.... BUT, when I receive the mail,, the sender address shown is the unix login id name.... Any way by which I could manipulate this in my script command or any... (1 Reply)
Discussion started by: vasan_srini
1 Replies

2. UNIX for Dummies Questions & Answers

Different Sender Address

Hello Following command send link to division managers. echo http://severname:8081/account-reports/2008Jun19-2008Jun25.2/index.html | mail -s "Weekly Division Sales Report" johndoe@companmail.com QUESTION. Above command send a body which is link of division report in email with... (1 Reply)
Discussion started by: paulds
1 Replies

3. Shell Programming and Scripting

how to know if the mailx command really sends the mail to the email address?

Hi guys, 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
3 Replies

4. UNIX for Dummies Questions & Answers

How to verify email address using mailx command ?

Is there any way i can verify the email address (before sending the mail) using the mailx command ? I know that sendmail -bv email@address.com can do it but there is a compatibility issues with the version of Unix we have. So mailx is the only command we can used at this point. Any... (1 Reply)
Discussion started by: rak007
1 Replies

5. Shell Programming and Scripting

Overwriting sender's information for mailx

Hello Forum members. We currently have a reusable script called "send_email.sh" that is used to send us alerts when our daily jobs are completed. Script uses the mailx utility and below is a sample message: -----Original Message----- From: Servacct ETL process owner - Manager Database... (2 Replies)
Discussion started by: pchang
2 Replies

6. Red Hat

How to change sender email address in mail -s command

Just having trouble trying to figure out what the option is. When I do mail -s "Subject" someuser@example.com I can't seem to specify "from" or "sender" option as I need it for my task. I tried using --f or -f though it didn't work. Can someone please tell me what other option... (0 Replies)
Discussion started by: rockf1bull
0 Replies

7. Shell Programming and Scripting

configure from address in mailx command

Hi, I need to configure customized from address in mailx command. Can you pls tell me the option for configuring from address. Thanks Latika (9 Replies)
Discussion started by: latika
9 Replies

8. UNIX for Dummies Questions & Answers

Customizing from address in mailx command

Currently I am using mailx command for sending mails. But the mail is sent as from userid@servername by default. Is it possible to customise the from mail address in mailx command? Thanks (2 Replies)
Discussion started by: pandeesh
2 Replies

9. Shell Programming and Scripting

How to change the sender's name or E-mail address in mutt command

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
4 Replies

10. UNIX for Beginners Questions & Answers

How to customize sender name in mailx command?

Hi, Is there anyway to customize the sender name when sending a mail from solaris or linux or any other unix box using mailx command? Thanks in advance. (1 Reply)
Discussion started by: ssk250
1 Replies
Verp(3pm)						User Contributed Perl Documentation						 Verp(3pm)

NAME
Mail::Verp - encodes and decodes Variable Envelope Return Paths (VERP) addresses. SYNOPSIS
use Mail::Verp; #Using class methods #Change separator to something else Mail::Verp->separator('+'); #Create a VERP envelope sender of an email to recipient@example.net. my $verp_email = Mail::Verp->encode('sender@example.com', 'recipient@example.net'); #If a bounce comes back, decode $verp_email to figure out #the original recipient of the bounced mail. my ($sender, $recipient) = Mail::Verp->decode($verp_email); #Using instance methods my $verp = Mail::Verp->new(separator => '+'); #Create a VERP envelope sender of an email to recipient@example.net. my $verp_email = $verp->encode('sender@example.com', 'recipient@example.net'); #Decode a bounce my ($sender, $recipient) = $verp->decode($verp_email); ABSTRACT
Mail::Verp encodes and decodes Variable Envelope Return Paths (VERP) email addresses. DESCRIPTION
Mail::Verp encodes the address of an email recipient into the envelope sender address so that a bounce can be more easily handled even if the original recipient is forwarding their mail to another address and the remote Mail Transport Agents send back unhelpful bounce messages. The module can also be used to decode bounce recipient addresses. FUNCTIONS
new() Primarily useful to save typing. So instead of typing "Mail::Verp" you can say my $x = Mail::Verp->new; then use $x whereever "Mail::Verp" is usually required. Accepts an optional "separator" argument for changing the separator, which defaults to hyphen '-'. The value can also be changed using the "separator" accessor. my $x = Mail::Verp->new(separator => '+'); encode(LOCAL-ADDRESS, REMOTE-ADDRESS) Encodes LOCAL-ADDRESS, REMOTE-ADDRESS into a verped address suitable for use as an envelope return address. It may also be useful to use the same address in Errors-To and Reply-To headers to compensate for broken Mail Transport Agents. Uses current separator value. decode(VERPED-ADDRESS) Decodes VERPED-ADDRESS into its constituent parts. Returns LOCAL-ADDRESS and REMOTE-ADDRESS in list context, REMOTE-ADDRESS in scalar context. Returns VERPED-ADDRESS if the decoding fails. Uses current separator value. separator Returns current value of the VERP "separator" separator(SEPARATOR) Sets new value for VERP "separator" and returns the previous value. EXPORT None. SEE ALSO
DJ Bernstein details verps here: http://cr.yp.to/proto/verp.txt. Sam Varshavchik proposes an encoding here: http://www.courier-mta.org/draft-varshavchik-verp-smtpext.txt. AUTHOR
Gyepi Sam <gyepi@cpan.org> COPYRIGHT AND LICENSE
Copyright 2007 by Gyepi Sam This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.0 2008-05-26 Verp(3pm)
All times are GMT -4. The time now is 08:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy