Carpe-Hora / SmsSender

[DEPRECATED] The almost missing SMS sending PHP library.
MIT License
54 stars 19 forks source link

There is no way to know how many SMS were sent #4

Open K-Phoen opened 12 years ago

K-Phoen commented 12 years ago

As a message can be sent in several parts, there should be a way in this library to transcribe it:

willdurand commented 12 years ago

I can see a lot of complex cases here..

K-Phoen commented 12 years ago

Can you explain yourself?

peshi commented 8 years ago

@willdurand Any update / input regarding this?

K-Phoen commented 8 years ago

Nothing new for this issue. Feel free to tell us how you would like to see it implemented :)

peshi commented 8 years ago

Well, nexmo do return the amount of messages sent - so this part would be easy to do. For the others that do not return the amount of messages.

Depending of the mechanism of the provider there could be several possibilities to do this.

  1. Count successfull delivery reports.
  2. Count messageID's that are successfully returned.
  3. Detect encoding and count characters for a string if the response is successfull.