简体   繁体   中英

How to send a Text with Meteor?

I need to send SMS / text from my Meteor app.

From atmosphere.js, I did find the presto:zenvia package , but based on the sample code at that link, it seems it's necessary to first have a zenvia account (must supply username and password), which isn't necessarily a big deal, but the documentation is in a language I do not know (Italian?).

Again, maybe not such a big deal, as Chrome did offer to translate it, and seemed to do pretty good.

However, the most concerning thing is that, according to the history of the project, it is version 0.0.4 and last updated Jun 29, 2015 - several months ago.

Is anyone aware of either a more mature package for sending SMS / texts with Meteor, or more comprehensive samples of just how to use presto:zenvia?

abhiaiyer:meteor-twilioabhiaiyer:meteor-twilio软件包,它使您可以加入Twilio服务。

Just wanted to point you down another route I was aware that cell companies generally have a text messaging email service there is more detail at Sending SMS to mobile phones via JavaScript

but the important bit is as follows

Cellular carriers assign email addresses to their phone numbers and support SMS by email.

So if you can email, you can text.

format : (subscriber 10 digit number) @sms_providerdomain.xxx

Alltel @message.alltel.com AT&T @txt.att.net Nextel @messaging.nextel.com Sprint @messaging.sprintpcs.com SunCom @tms.suncom.com T-mobile @tmomail.net VoiceStream @voicestream.net Verizon @vtext.com (text only) @vzwpix.com (pictures and videos)

as stated by capdragon in 2010 I don't know if this has been updated or changed but I would assume it still holds true today.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM