Re: $head->get issues possibly.
Mark Overmeer <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.mail-box |
|---|---|
| Organization | MARKOV Solutions |
| Message-ID | <[email protected]> |
* David A Golden ([email protected]) [040405 20:25]: > At 4/5/2004 01:01 PM, Roderick A. Anderson wrote: > >It seems the spammers are breaking more and more Internet rules ... :-) > Generally, I think it would be useful to have Mail::Box be able to validate > each of the major headers against these rules rather than to have users > have to do it. (E.g., if $msg->validFrom() ). (Mark, how hard would this > be to add?) My whole Mail::Message::Field::Full set of modules is meant to have full understading of the valid content of fields. The most complicated set of fields (the once which contain e-mail addresses) are currently the only fields which are full implemented. But that was hundreds of lines of Perl.... so: no, it is not easy to do. my $from = $msg->study('from'); my @addr = defined $from ? $from->addresses : (); Development of Mail::Box has slowed-down due to lack of funding: I have to do other jobs to earn my living. Happily, the marked for Perl programmers is not that good, so I may be able to find some days without too much on my hands ;-) -- MarkOv ------------------------------------------------------------------------ drs Mark A.C.J. Overmeer MARKOV Solutions [email protected] [email protected] http://Mark.Overmeer.net http://solutions.overmeer.net