Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mailsms issue #306

Open
sghoul opened this issue Nov 5, 2014 · 2 comments
Open

mailsms issue #306

sghoul opened this issue Nov 5, 2014 · 2 comments
Milestone

Comments

@sghoul
Copy link

sghoul commented Nov 5, 2014

Hi Anton, I'm having an issue when sending an email from SQL Trigger, the body of the email, in this case a phone number, is not read properly by mailsms plugin.
For the testings, I've checked the logs, at this stage, the body is being coded base64, correct till now:
L3 mailsms_hook_playsmsd # email from:[xxx xxxxx@xx.xxx] subject:[admin 9999 test test] body:[KzEzMjM0NTMzNDU4]
Afterwards, the body is not properly decoded, for instance here to: 04 which is incorrect.
L2 sendsms_queue_push # saving queue_code:b8a9a7dc2a1b15b6f6256a013dc03c50 dst:04
Please note that when sending an email from an email client / Web the mailsms plugin works perfectly.
Kindly address this issue. Thanks!

@antonraharja antonraharja added this to the 1.0 milestone Nov 7, 2014
@antonraharja
Copy link
Member

yeah I've seen this issue as well on my setup.

@sghoul
Copy link
Author

sghoul commented Nov 7, 2014

It might be related to MSSQL database mail server encoding UTF16, whereas PlaySMS php function is decoding the body as it was UTF8?... Worth to check?

@antonraharja antonraharja modified the milestones: 1.1, 1.0 Mar 7, 2015
@antonraharja antonraharja modified the milestones: 1.1, next Jun 6, 2015
@antonraharja antonraharja modified the milestones: 1.2, next Jul 10, 2015
@antonraharja antonraharja modified the milestones: 1.5, next Jul 17, 2016
@antonraharja antonraharja modified the milestones: 1.5, next Jun 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants