Hi
A) I am able to send eMail using mailx from a UNIX ( solaris 8 ) host to my Outlook-email-ID : FName.Surname@Citigroup.com ( This is NOT my actual -eMail-ID). But in Outlook the "From :" eMail address is displayed as
" usr1@unix-host1.unregistered.email.citicorp.com " .i.e the words... (2 Replies)
Hi,
I have a script as follows
func1()
{
echo $$
}
func1
func1
This returns the id of the current shell twice so outputs:
4201
4201
I'd like to change this script so the function is called in a different subshell each time, giving a different shell id for each function call.... (6 Replies)
Discussion started by: Fl3tchLiv3s
6 Replies
3. Forum Support Area for Unregistered Users & Account Problems
Hi
Can any one help me out ?
I am trying to send an autogenerated mail with an attachment to bulk of users using 'MAILX' and 'UNENCODE' . I have used it as follows
X " ( cat /sastemp/body.txt; uuencode Test.xls.gz Test.xls.gz ) | mailx -s 'Testing' ' abcd@yahoo.com , efgh@gmail.com ' "
... (9 Replies)
Hi
I am trying to send mail to an email id having ampersand in it.
Like abc.&.xyz@abc.com
But it is not being sent.
I also tried prefixing backslash before and after ampersand
Need Help:( (17 Replies)
Hi,
I am trying to send an email to multiple IDs from Unix script. I have given the EmailIds in a file and trying to use the file as input in the script.
> cat Email
EmailID = "abc@xyz.com cbz@xyz.com"
In my script I have
. /Email
mailx -s "subj" $EmailID
This fails with the... (3 Replies)
hi,
I want to send mail to DL...
i am sending email to single id using mailx .. how to send to group of ids? :confused:
i am using a file which conatins all the ids,
is there any other way to send mail without creating the DLfile?
DL=path\file.txt
mailx -s "Info BG is now... (4 Replies)
Hi,
I would like to know if there is a way to mask obscene words and other contents like email id's/phone numbers in the file. Below is the sample input /output.
Sample data :
cat smp.txt
The service is really bad . My email abc@gmail.com
You can contact me at 4078909831
Output... (2 Replies)
I would like to extract only the email ids from the gecos of each user id. I have to get the email ids of all the users on the server like this.
Can someone please assist me with the command/script? (15 Replies)
hi,
I added an email id to a list of existing aliases in .mailrc on my unix box, using vi editor. However, the new id has not been receiving any mails from the box.
Kindly help as to what needs to be done here. Does the box need to be rebooted for these changes to reflect? Is there any other... (5 Replies)
Discussion started by: qwerty000
5 Replies
LEARN ABOUT DEBIAN
email::messageid
Email::MessageID(3pm) User Contributed Perl Documentation Email::MessageID(3pm)NAME
Email::MessageID - Generate world unique message-ids.
SYNOPSIS
use Email::MessageID;
my $mid = Email::MessageID->new->in_brackets;
print "Message-ID: $midx0Ax0D";
DESCRIPTION
Message-ids are optional, but highly recommended, headers that identify a message uniquely. This software generates a unique message-id.
METHODS
new
my $mid = Email::MessageID->new;
my $new_mid = Email::MessageID->new( host => $myhost );
This class method constructs an Email::Address object containing a unique message-id. You may specify custom "host" and "user" parameters.
By default, the "host" is generated from "Sys::Hostname::hostname".
By default, the "user" is generated using "Time::HiRes"'s "gettimeofday" and the process ID.
Using these values we have the ability to ensure world uniqueness down to a specific process running on a specific host, and the exact time
down to six digits of microsecond precision.
create_host
my $domain_part = Email::MessageID->create_host;
This method returns the domain part of the message-id.
create_user
my $local_part = Email::MessageID->create_user;
This method returns a unique local part for the message-id. It includes some random data and some predictable data.
in_brackets
When using Email::MessageID directly to populate the "Message-ID" field, be sure to use "in_brackets" to get the string inside angle
brackets:
header => [
...
'Message-Id' => Email::MessageID->new->in_brackets,
],
Don't make this common mistake:
header => [
...
'Message-Id' => Email::MessageID->new->as_string, # WRONG!
],
SEE ALSO
Email::Address, Time::HiRes, Sys::Hostname, perl.
PERL EMAIL PROJECT
This module is maintained by the Perl Email Project.
<http://emailproject.perl.org/wiki/Email::MessageID>
AUTHOR
Casey West, <casey@geeknest.com>.
COPYRIGHT
Copyright (c) 2004 Casey West. All rights reserved.
This module is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
perl v5.10.1 2010-07-15 Email::MessageID(3pm)