NAME
WebService::SendGrid::Newsletter::Identity
VERSION
version 0.02
METHODS
new
Creates a new instance of WebService::SendGrid::Newsletter::Identity.
my $recipients = WebService::SendGrid::Newsletter::Identity->new(sgn => $sgn);
Parameters:
sgnAn instance of WebService::SendGrid::Newsletter.
add
Creates a new identity.
Parameters:
identity(Required) The name of the new identity.
name(Required) The name of the sender.
email(Required) The email address of the sender.
address(Required) The physical address.
city(Required) The city name.
zip(Required) The zip code.
state(Required) The state.
country(Required) The country name.
replytoThe email address to be used in the Reply-To field. If not defined, will default to the
emailparameter.
edit
Edits an existing identity.
Parameters:
identity(Required) The identity to be edited.
newidentityThe new name to be used for this identity.
nameThe new name of the sender.
email<(Required)> The email address of the sender.
replytoThe email address to be used in the Reply-To field. If not defined, will default to the
emailparameter.addressThe new physical address.
get
Retrieves information associated with an identity.
identity(Required) The name of the identity to retrieve information for.
list
Retrieves all identities on the account, or checks if a specified identity exists.
identityThe name of the identity to check.
delete
Removes the specified identity.
identity(Required) The name of the identity to remove.
AUTHOR
Michal Wojciechowski <odyniec@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Michal Wojciechowski.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.