NAME

WWW::MailboxOrg::API::Utils - Utility API (parse_headers, parse_date, generate_message_id)

VERSION

version 0.001

NAME

WWW::MailboxOrg::API::Utils - Utility API

parse_headers

my $parsed = $api->utils->parse_headers(
    headers => "From: user@example.com\r\nSubject: Hello",
);

Parse email headers. Required: headers.

parse_date

my $parsed = $api->utils->parse_date(date => 'Mon, 01 Jan 2024 12:00:00 +0000');

Parse an email date. Required: date.

generate_message_id

my $msg_id = $api->utils->generate_message_id;
my $msg_id = $api->utils->generate_message_id(account => 'user@example.com');

Generate a message ID. Optional: account.

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/getty/p5-www-mailboxorg/issues.

IRC

Join #perl-help on irc.perl.org or message Getty directly.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <getty@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.