aheckmann / node-ses

An Amazon SES api for nodejs with proper error handling.
http://aheckmann.github.com/node-ses
MIT License
200 stars 37 forks source link

Document end point usage #13

Closed rickwaugh1 closed 9 years ago

rickwaugh1 commented 9 years ago

I know this is an Amazon thing, but I managed to lose some time over this. Never had to specify and endpoint when using your module before. Figured out how to specify the endpoint, but didn't include the protocol.

Something like, "Not all AWS regions support SES, so it's a good idea to check and specify which region to send to. Some regions require https. An example would be:

        var EmailClient = SES.createClient(
        {
            key:"ABCDEFGH",
            secret: "ABCDBEDF",
            amazon: "https://email.us-west-2.amazonaws.com"
        });
markstos commented 9 years ago

Thanks, we'll review the docs here.

On Thu, Dec 11, 2014 at 12:07 PM, Rick Waugh notifications@github.com wrote:

I know this is an Amazon thing, but I managed to lose some time over this. Never had to specify and endpoint when using your module before. Figured out how to specify the endpoint, but didn't include the protocol.

Something like, "Not all AWS regions support SES, so it's a good idea to check and specify which region to send to. Some regions require https. An example would be:

    var EmailClient = SES.createClient(
    {
        key:"ABCDEFGH",
        secret: "ABCDBEDF",
        amazon: "https://email.us-west-2.amazonaws.com"
    });

Reply to this email directly or view it on GitHub https://github.com/aheckmann/node-ses/issues/13.

Mark Stosberg
Senior Systems Engineer
RideAmigos