ZConf::Mail::GUI - Implement various GUI functions for ZConf::Mail.


ZConf-Mail documentation  | view source Contained in the ZConf-Mail distribution.

Index


NAME

Top

ZConf::Mail::GUI - Implement various GUI functions for ZConf::Mail.

VERSION

Top

Version 0.1.0

SYNOPSIS

Top

    use ZConf::Mail::GUI;

    my $zcmg = ZConf::Mail::GUI->new();
    ...

METHODES

Top

new

This initiates the new the object for this module.

One arguement is taken and that is a hash value.

hash values

zcmail

This is a ZConf::Mail object to use. If it is not specified, a new one will be created.

zconf

This is the ZConf object to use. If it is not specified the one in the object for zcrunner will be used. If neither zconf or zcrunner is specified, a new one is created.

zcgui

This is the ZConf::GUI to use. If one is not specified,

compose

This opens a window for composing a message.

args hash

account

This is the account to use. If this is not defined, the default sendable account is used.

to

An array of To addresses.

cc

An array of CC addresses.

bcc

An array of BCC addresses.

files

An array of files to attach.

in-reply-to

This will set the in-reply-to header value.

    $zcmg->compose({account=>'smtp/whatever', to=>'foo@bar'});
    if($zcmg->{error}){
        print "Error!\n";
    }

composeFromURI

This composes a new message from a URI.

args hash

account

This is the account to use.

uri

This is the URI to use.

    $zcmg->composeFromURI({account=>'smtp/whatever', uri=>'mailto:foo@bar'});
    if($zcmg->{error}){
        print "Error!\n";
    }

manageAccounts

This manages the accounts.

    $zcmg->manageAccounts;
    if($self->{error}){
        print "Error!\n";
    }

dialogs

This returns the available dailogs.

windows

This returns a list of available windows.

errorblank

This blanks the error storage and is only meant for internal usage.

It does the following.

    $self->{error}=undef;
    $self->{errorString}="";

dialogs

Top

At this time, no windows are supported.

windows

Top

accountmanage

compose

ERROR CODES

Top

1

Failed to initialize ZConf::Mail.

2

Failed to initialize ZConf::GUI.

3

Backend error.

4

Missing arguement.

5

The URI is not a mailto URI.

6

The URI appears to not contain any to address.

AUTHOR

Top

Zane C. Bowers, <vvelox at vvelox.net>

BUGS

Top

Please report any bugs or feature requests to bug-zconf-runner at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=ZConf-Mail. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

Top

You can find documentation for this module with the perldoc command.

    perldoc ZConf::Mail::GUI




You can also look for information at:

* RT: CPAN's request tracker

http://rt.cpan.org/NoAuth/Bugs.html?Dist=ZConf-Mail

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/ZConf-Runner

* CPAN Ratings

http://cpanratings.perl.org/d/ZConf-Mail

* Search CPAN

http://search.cpan.org/dist/ZConf-Mail

ACKNOWLEDGEMENTS

Top

COPYRIGHT & LICENSE

Top


ZConf-Mail documentation  | view source Contained in the ZConf-Mail distribution.