Michał Wojciechowski
and 2 contributors

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:

  • sgn

    An 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.

  • replyto

    The email address to be used in the Reply-To field. If not defined, will default to the email parameter.

edit

Edits an existing identity.

Parameters:

  • identity

    (Required) The identity to be edited.

  • newidentity

    The new name to be used for this identity.

  • name

    The new name of the sender.

  • email

    <(Required)> The email address of the sender.

  • replyto

    The email address to be used in the Reply-To field. If not defined, will default to the email parameter.

  • address

    The 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.

  • identity

    The 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.