Jump to content

Forums

Search In
  • More options...
Find results that contain...
Find results in...

AWS SES: Local address contains control or whitespace


Recommended Posts

I installed and configured the "AWS Simple Email Service with Bounce Management" plugin, but when I try to send a test email I see the following error in the logs:

 

Error:
Local address contains control or whitespace

Stack trace:
"#0 \/var\/www\/ipb\/applications\/awsses\/sources\/vendor\/aws\/aws-sdk-php\/src\/WrappedHttpHandler.php(97): Aws\\WrappedHttpHandler->parseError()
#1 \/var\/www\/ipb\/applications\/awsses\/sources\/vendor\/guzzlehttp\/promises\/src\/Promise.php(204): Aws\\WrappedHttpHandler->Aws\\{closure}()
#2 \/var\/www\/ipb\/applications\/awsses\/sources\/vendor\/guzzlehttp\/promises\/src\/Promise.php(169): GuzzleHttp\\Promise\\Promise::callHandler()
#3 \/var\/www\/ipb\/applications\/awsses\/sources\/vendor\/guzzlehttp\/promises\/src\/RejectedPromise.php(42): GuzzleHttp\\Promise\\Promise::GuzzleHttp\\Promise\\{closure}()
#4 \/var\/www\/ipb\/applications\/awsses\/sources\/vendor\/guzzlehttp\/promises\/src\/TaskQueue.php(48): GuzzleHttp\\Promise\\RejectedPromise::GuzzleHttp\\Promise\\{closure}()
#5 \/var\/www\/ipb\/applications\/awsses\/sources\/vendor\/guzzlehttp\/guzzle\/src\/Handler\/CurlMultiHandler.php(158): GuzzleHttp\\Promise\\TaskQueue->run()
#6 \/var\/www\/ipb\/applications\/awsses\/sources\/vendor\/guzzlehttp\/guzzle\/src\/Handler\/CurlMultiHandler.php(183): GuzzleHttp\\Handler\\CurlMultiHandler->tick()
#7 \/var\/www\/ipb\/applications\/awsses\/sources\/vendor\/guzzlehttp\/promises\/src\/Promise.php(248): GuzzleHttp\\Handler\\CurlMultiHandler->execute()
#8 \/var\/www\/ipb\/applications\/awsses\/sources\/vendor\/guzzlehttp\/promises\/src\/Promise.php(224): GuzzleHttp\\Promise\\Promise->invokeWaitFn()
#9 \/var\/www\/ipb\/applications\/awsses\/sources\/vendor\/guzzlehttp\/promises\/src\/Promise.php(269): GuzzleHttp\\Promise\\Promise->waitIfPending()
#10 \/var\/www\/ipb\/applications\/awsses\/sources\/vendor\/guzzlehttp\/promises\/src\/Promise.php(226): GuzzleHttp\\Promise\\Promise->invokeWaitList()
#11 \/var\/www\/ipb\/applications\/awsses\/sources\/vendor\/guzzlehttp\/promises\/src\/Promise.php(269): GuzzleHttp\\Promise\\Promise->waitIfPending()
#12 \/var\/www\/ipb\/applications\/awsses\/sources\/vendor\/guzzlehttp\/promises\/src\/Promise.php(226): GuzzleHttp\\Promise\\Promise->invokeWaitList()
#13 \/var\/www\/ipb\/applications\/awsses\/sources\/vendor\/guzzlehttp\/promises\/src\/Promise.php(62): GuzzleHttp\\Promise\\Promise->waitIfPending()
#14 \/var\/www\/ipb\/applications\/awsses\/sources\/vendor\/aws\/aws-sdk-php\/src\/AwsClientTrait.php(58): GuzzleHttp\\Promise\\Promise->wait()
#15 \/var\/www\/ipb\/applications\/awsses\/sources\/vendor\/aws\/aws-sdk-php\/src\/AwsClientTrait.php(86): Aws\\AwsClient->execute()
#16 \/var\/www\/ipb\/applications\/awsses\/sources\/Outgoing\/SES.php(42): Aws\\AwsClient->__call()
#17 \/var\/www\/ipb\/applications\/core\/modules\/admin\/settings\/email.php(189): IPS\\awsses\\Outgoing\\_SES->_send()
#18 \/var\/www\/ipb\/system\/Dispatcher\/Controller.php(101): IPS\\core\\modules\\admin\\settings\\_email->manage()
#19 \/var\/www\/ipb\/applications\/core\/modules\/admin\/settings\/email.php(38): IPS\\Dispatcher\\_Controller->execute()
#20 \/var\/www\/ipb\/system\/Dispatcher\/Dispatcher.php(153): IPS\\core\\modules\\admin\\settings\\_email->execute()
#21 \/var\/www\/ipb\/admin\/index.php(13): IPS\\_Dispatcher->run()
#22 {main}"

 

I had no issues sending test emails using normal PHP (which incidentally is using SES through postfix).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.