FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
iamseeley
iamseeleysendSMS
Public
Like
6
sendSMS
Home
Code
2
README.md
main.tsx
Branches
1
Pull requests
Remixes
6
History
Environment variables
Settings
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in miliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
6/22/2024
README.md

💬 Email-to-SMS

Send text messages on Val Town!

Usage

Create val
import { sendSMS } from 'https://esm.town/v/iamseeley/sendSMS'; sendSMS(phoneNumber: string, message: string, carrier: string): Promise<void>

Parameters

  • phoneNumber: The recipient's phone number (string of digits, no spaces or dashes)
  • message: The text message you want to send
  • carrier: The recipient's cell phone carrier.

Supported carriers: 'att' (AT&T), 'tmobile' (T-Mobile), 'verizon' (Verizon), 'sprint' (Sprint)

List of Email-To-SMS Addresses

Comment on this val if you'd like me to add a carrier from the above list!

Example

Create val
import { sendSMS } from 'https://esm.town/v/iamseeley/sendSMS'; sendSMS('1234567890', 'Hello from Val Town!', 'verizon');
Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.