Brian Leishman
Brian Leishman

Reputation: 8555

Possibly Unable to Send Email From Within Amazon AWS

I've around at the other questions that seem close to what I'm running into, but I'm not entirely sure if they're the same thing. Basically, I have been writing a website that sends emails to a whole bunch of places, like to a sales person, a factory, and a customer all in one run. On my local test environment this works perfectly, however now that we've pushed the site live to an Amazon AWS server, it only seems to be allowing emails to be sent every once in a while-ish.

I get errors that look like this after only a couple of them are able to get through

PHP Fatal error: Uncaught exception 'Swift_TransportException' with message 'Connection could not be established with host...

My theory is that Amazon is blocking the ports after a couple of sends to thwart people using the servers for spam, but we kind of need this functionality to continue the site running how it should be. Where should I go from here?

Upvotes: 0

Views: 106

Answers (1)

SimZal
SimZal

Reputation: 301

There are limits on how much email you can send trough AWS EC2 instance. Read more here.

Upvotes: 1

Related Questions