NAME

WebService::SendGrid::Newsletter::Identity

VERSION

version 0.01

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::Identity.

add

Creates a new address

Parameters:

  • identity

    (Required) A name to identify an address.

  • name

    (Required) The name of the sender to be used for this address.

  • email

    (Required) The email address of the sender.

  • address

    (Required) The physical street address to be used for this address.

  • city

    (Required) The city name.

  • zip

    (Required) The zip code.

  • state

    (Required) The state of the address.

  • country

    (Required) The country name.

  • replyto

    A specific email to be used in for replying. If not defined, will default to email parameter.

edit

Edits an existing address.

Parameters:

  • identity

    (Required) The existing identity of the address to be edited.

  • newidentity

    The specific new identity to be used for this address.

  • name

    The new name to be used.

  • email

    <(Required)> The specific email to be used for this address.

  • replyto

    A specific email to be used in for replying. If not defined, will default to email parameter

  • address

    The new physical address to used for this address.

get

Retrieves information associated with a particular address.

  • identity

    (Required) The identity of a particular address to retrieve information.

list

Retrives all address on the account, or check if a specified address exists.

  • identity

    The identity of an existing address to check.

delete

Removes an exsiting address from the account.

  • identity

    (Required) The identity of an existing address to be removed.

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.