‘SenderID’ issues sending SMS on Amazon SNS (Official PHP SDK)


For some reason the SenderID seems to revert to NOTICE – see here Amazon SNS - SMS Notice when I set the SenderID in the code.

When I leave the SenderID variable out, it sends as the default set – this is good, but we will be occasionally changing the name for different uses.

I am using the Official PHP SDK, with the code below:

I am sending to the UK (so SID works there), and also it is within the 11 character limit.

Does anyone have any idea why this is happening?



I have found the answer.

The search system didn’t materialise this originally, but finally, I have found it.

QUOTE FROM: https://stackoverflow.com/a/43748448/7586984

I found the solution. Set the args this way. It works!

Leave a Reply