Timothy Kiselev Posted August 6, 2021 Share Posted August 6, 2021 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). Quote Link to comment Share on other sites More sharing options...
Timothy Kiselev Posted August 6, 2021 Author Share Posted August 6, 2021 Sorry, I just found the bug submission form. I'll post this issue there. Quote Link to comment Share on other sites More sharing options...
Timothy Kiselev Posted August 6, 2021 Author Share Posted August 6, 2021 Can't seem to follow up on the ticket I submitted, so I'll post here. I think what's going on is that my site name contains a comma, and it should be quoted in the From: field but it's not. See https://forums.aws.amazon.com/thread.jspa?threadID=59220. Quote Link to comment Share on other sites More sharing options...
Administrators Jon Erickson Posted August 6, 2021 Administrators Share Posted August 6, 2021 Hi @Timothy Kiselev, can you confirm if you temporarily remove the comma, the emails will send? Quote Owner Deschutes Design Group LLC email | jon@deschutesdesigngroup.com Link to comment Share on other sites More sharing options...
Timothy Kiselev Posted August 6, 2021 Author Share Posted August 6, 2021 Yep, test email went through. Quote Link to comment Share on other sites More sharing options...
Administrators Jon Erickson Posted August 6, 2021 Administrators Share Posted August 6, 2021 Okay great - I’ll update the application to make sure the from name is in quotes. Do you mind sharing your community name so I can use it as a test to make sure the update is working correctly? Thanks. Quote Owner Deschutes Design Group LLC email | jon@deschutesdesigngroup.com Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.