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)
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)
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)
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)
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)
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)
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)
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)
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
LEARN ABOUT DEBIAN
mail::verp
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)