send sms to multiple recipients using SMS url in iPhone

前端 未结 4 2179
醉梦人生
醉梦人生 2021-02-14 04:25

How do I send SMS to multiple recipients using SMS url in iPhone?

I am trying this but it doesn\'t work. Is there any way to send or not?



        
相关标签:
4条回答
  • 2021-02-14 04:41

    Unfortunately, for now, there is no way to send a SMS to multiple recipients from a web app on iPhones with the sms scheme.

    I believe a workaround is possible, if you specifically know the audience of your webapp. You could require the installation of a native app with a custom URL scheme, that creates the SMS upon request.
    This app could register on multiplesms://, read multiple phone numbers, and create the SMS (I think this is possible from different applications I've seen on the Internet, never used them though).
    So in your webapp, you could write:
    <a href="multiplesms:+3581234567,+3582234567">Two numbers, no body text</a>.
    But remember you would have to require the installation of the native app on your users' iPhones.

    0 讨论(0)
  • 2021-02-14 04:44

    The custom uri scheme seems to be an interesting approach to solve this problem, but we have to make specific iOS app or use an existing and compatible iPhone app, that I didn't find. Actually, only the first number of the list is used and iOS exclude all after the comma. If there are no ways to solve this, which is specific to iPhone, we have to use an SMS gateway (and pay each sms).

    Hope someone have a solution.

    0 讨论(0)
  • 2021-02-14 04:48

    Try

    <a href="sms:+3581234567,+3582234567">Two numbers, no body text</a> 
    

    Source: developer.nokia.com and openmobilealliance.org (page 20)

    If it doesn't work, I would try

    <a href="sms:+3581234567;+3582234567">Two numbers, no body text</a> 
    
    0 讨论(0)
  • 2021-02-14 04:50

    Use this:

    sms:/open?addresses={phone number 1},{phone number 2},...
    
    0 讨论(0)
提交回复
热议问题