| ZConf-Mail documentation | view source | Contained in the ZConf-Mail distribution. |
ZConf::Mail::GUI - Implement various GUI functions for ZConf::Mail.
Version 0.1.0
use ZConf::Mail::GUI;
my $zcmg = ZConf::Mail::GUI->new();
...
This initiates the new the object for this module.
One arguement is taken and that is a hash value.
This is a ZConf::Mail object to use. If it is not specified, a new one will be created.
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.
This is the ZConf::GUI to use. If one is not specified,
This opens a window for composing a message.
This is the account to use. If this is not defined, the default sendable account is used.
An array of To addresses.
An array of CC addresses.
An array of BCC addresses.
An array of files to attach.
This will set the in-reply-to header value.
$zcmg->compose({account=>'smtp/whatever', to=>'foo@bar'});
if($zcmg->{error}){
print "Error!\n";
}
This composes a new message from a URI.
This is the account to use.
This is the URI to use.
$zcmg->composeFromURI({account=>'smtp/whatever', uri=>'mailto:foo@bar'});
if($zcmg->{error}){
print "Error!\n";
}
This manages the accounts.
$zcmg->manageAccounts;
if($self->{error}){
print "Error!\n";
}
This returns the available dailogs.
This returns a list of available windows.
This blanks the error storage and is only meant for internal usage.
It does the following.
$self->{error}=undef;
$self->{errorString}="";
At this time, no windows are supported.
accountmanage
compose
Failed to initialize ZConf::Mail.
Failed to initialize ZConf::GUI.
Backend error.
Missing arguement.
The URI is not a mailto URI.
The URI appears to not contain any to address.
Zane C. Bowers, <vvelox at vvelox.net>
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.
You can find documentation for this module with the perldoc command.
perldoc ZConf::Mail::GUI
You can also look for information at:
Copyright 2008 Zane C. Bowers, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| ZConf-Mail documentation | view source | Contained in the ZConf-Mail distribution. |