hello all
I am happily using pine but unhappily sending email as username@where.my.mail.works
instead of ****@my.college.edu
well, my username on my computer is one thing, but my username on my college account (**** here) is different.
what I'm trying to do is use the college server for... (1 Reply)
Not sure whether this is an appropriate request, however,
Using C++ code I'm running a unix command from the pc that needs the IP address of the PC in order to set the DISPLAY variable. The code is written using Builder C++ (Borland) but I'm having difficulty finding what functions / header... (3 Replies)
I have a problem that when I am pinging with the IP address it is giving me whether a server is alive or not but when I am trying it with hostname it is giving unknown host
I have checked in /etc/hosts file and the IP address and hostname are both there...still the problem is there..
Can... (1 Reply)
Hi,
If my IP address is 192.29.0.131 I want output _0_131
# /sbin/ifconfig | grep "inet addr" | grep 192 | cut -d "." -f3
0
I have tried the above and I get third digit. I want forth digit as well separated by underscore.
Or is there any better approach? (4 Replies)
hi!
I need a script that, among other things, presents a menu to the user, checks the user input for an IP address (in quad dotted notation), and then "redirects" (with sed) that IP address to the Firewall script.
The script must check that all of the inputs are valid IP addresses (numeric,... (1 Reply)
I have a tricky problem, and I'm quite the scripting newb.
I have Cisco ACLs that have IP addresses in them. I'd like to convert the IP's to hostnames for easier analysis. A sample ACL input file would be (I've obfuscated the IPs):
access-list acl-secure-out line 1 extended permit icmp any... (3 Replies)
edit; I found a solution that works, see thread #3 https://www.unix.com/302417065-post3.html
Hi there,
I have a small dedicated server that has four ip addresses and by default my httpd sends request using the servers main ip for all outbound connections.
I'm quite amateur at routing and... (4 Replies)
We are using Solaris as our database OS. Can you please help me to know how can i get the IP address of a solaris machine in my network from its hostname?
e.g. We have a remote database server with the hostname as xyz. Without connecting to the database OS, can i get the IP address of xyz OS from... (1 Reply)
Mutt 1.2.3.1i
AIX 5.3.12.1
We need to send email to external addresses. But are having problems with the sent-from hostname. They're going out with @server.mycompany.com. We need them to be @mycompany.com.
I'm setting from and hostname with -e 'set from="From... (1 Reply)
Hi,
Anyone can help?
Currently :
I'm am using a smtp smart relay, 1 hostname but different IP Address 192.168.2.108 and 192.168.2.109).
I'm using "smtp.mailhostname.com mailhost" and having an IP Address 192.168.2.108, but there is a certain minutes/seconds that the IP Address will... (2 Replies)
Discussion started by: fspalero
2 Replies
LEARN ABOUT OSX
mail::address
Mail::Address(3) User Contributed Perl Documentation Mail::Address(3)NAME
Mail::Address - Parse mail addresses
SYNOPSIS
use Mail::Address;
my @addrs = Mail::Address->parse($line);
foreach $addr (@addrs) {
print $addr->format,"
";
}
DESCRIPTION
"Mail::Address" extracts and manipulates email addresses from a message header. It cannot be used to extract addresses from some random
text. You can use this module to create RFC822 compliant fields.
Although "Mail::Address" is a very popular subject for books, and is used in many applications, it does a very poor job on the more complex
message fields. It does only handle simple address formats (which covers about 95% of what can be found). Problems are with
o no support for address groups, even not with the semi-colon as separator between addresses;
o limitted support for escapes in phrases and comments. There are cases where it can get wrong; and
o you have to take care of most escaping when you create an address yourself: "Mail::Address" does not do that for you.
Often requests are made to the maintainers of this code improve this situation, but this is not a good idea, where it will break zillions
of existing applications. If you wish for a fully RFC2822 compliant implementation you may take a look at Mail::Message::Field::Full, part
of MailBox.
METHODS
Constructors
Mail::Address->new(PHRASE, ADDRESS, [ COMMENT ])
Create a new "Mail::Address" object which represents an address with the elements given. In a message these 3 elements would be seen
like:
PHRASE <ADDRESS> (COMMENT)
ADDRESS (COMMENT)
example:
Mail::Address->new("Perl5 Porters", "perl5-porters@africa.nicoh.com");
$obj->parse(LINE)
Parse the given line a return a list of extracted "Mail::Address" objects. The line would normally be one taken from a To,Cc or Bcc
line in a message
example:
my @addr = Mail::Address->parse($line);
Accessors
$obj->address()
Return the address part of the object.
$obj->comment()
Return the comment part of the object
$obj->format([ADDRESSes])
Return a string representing the address in a suitable form to be placed on a "To", "Cc", or "Bcc" line of a message. This method is
called on the first ADDRESS to be used; other specified ADDRESSes will be appended, separated with commas.
$obj->phrase()
Return the phrase part of the object.
Smart accessors
$obj->host()
Return the address excluding the user id and '@'
$obj->name()
Using the information contained within the object attempt to identify what the person or groups name is.
$obj->user()
Return the address excluding the '@' and the mail domain
SEE ALSO
This module is part of the MailTools distribution, http://perl.overmeer.net/mailtools/.
AUTHORS
The MailTools bundle was developed by Graham Barr. Later, Mark Overmeer took over maintenance without commitment to further development.
Mail::Cap by Gisle Aas <aas@oslonett.no>. Mail::Field::AddrList by Peter Orbaek <poe@cit.dk>. Mail::Mailer and Mail::Send by Tim Bunce
<Tim.Bunce@ig.co.uk>. For other contributors see ChangeLog.
LICENSE
Copyrights 1995-2000 Graham Barr <gbarr@pobox.com> and 2001-2007 Mark Overmeer <perl@overmeer.net>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See
http://www.perl.com/perl/misc/Artistic.html
perl v5.16.2 2012-08-29 Mail::Address(3)