this post was submitted on 15 May 2024
59 points (98.4% liked)

Open Source

30956 readers
583 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

I am wondering what the standard tool is for sending and receiving SMS and MMS on a device that does not have a SIM card in it.

Is there some tool that can do it natively? Is there a specific carrier that is commonly used for this? Is there some sort of selfhosted service that bridges it to email, and if so do I need to put a SIM card in my server?

Bonus points if I can do it within Emacs.

all 19 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 46 points 5 months ago (2 children)
[โ€“] [email protected] 3 points 5 months ago

Problem solved. You can close this thread now. ๐Ÿคฃ

[โ€“] refalo 1 points 5 months ago

I tried to use it for a long time but the amount of bugs and unreliability really forced me to stop using it.

[โ€“] [email protected] 21 points 5 months ago* (last edited 5 months ago) (1 children)

You could use a matrix bridge (matrix.org/ecosystem/bridges) or use KDE connect

Note: these solutions assume you have a phone

[โ€“] [email protected] 10 points 5 months ago

You can also use a VoIP service to send and receive SMS.

[โ€“] [email protected] 14 points 5 months ago

Depends on what you are trying achieve.

You can send sms via foss no problem as long as you know what carrier the recipient uses. All of the carriers seem to have email bridges to the sms network. Receiving sms is another question entirely. To receive sms, the network needs to know where to send the message. There are commercial platforms that can link you into the sms network.

Another option is KDEConnect which can link your Android device to your computer and you can send and receive sms that way.

https://simpletexting.com/blog/how-to-text-from-computer/

[โ€“] [email protected] 4 points 5 months ago (1 children)

Most VoIP providers have either an HTTP API you can hit and/or email to/from text.

Additionally, some carriers do offer an email address that can be used to send a text to one of their users but due to spam it's usually pretty restricted.

[โ€“] [email protected] 2 points 5 months ago (2 children)

Interesting. Can you give an example?

[โ€“] [email protected] 3 points 5 months ago

Example of what?

VoIP provider: voip.ms

They support like 5 different ways to deal with SMS and MMS, there's options. https://wiki.voip.ms/article/SMS-MMS

Carrier that accepts texts by email: Bell Canada accepts emails at [email protected] and deliver it as SMS or MMS to the number. Or at least they used to, I can't find current documentation about it and that feels like something that would be way too exploitable for spam.

[โ€“] [email protected] 1 points 5 months ago
[โ€“] anzo 1 points 5 months ago (1 children)

I don't know if it's what you want but on Linux I had guiscrcpy to open my phone screen as a window and control it with my keyboard and mouse seamlessly. Nowadays I have switched to kdeconnect (there's gsconnect for gtk desktops environments)

[โ€“] [email protected] 1 points 5 months ago (1 children)

Does it allow for a screenshare feature like what you describe with guiscrcpy?

[โ€“] anzo 1 points 5 months ago

No, but there are key steps in the installation process that are different. Guiscrcpy uses a binary blob, I'm unsure on how safe it is. Meanwhile, kdeconnect is open source and has many interesting features of their own. (Sending links to open a website between devices, using it in combination with openvpn, and so on..)

[โ€“] [email protected] 1 points 5 months ago

You can use a VoIP or SIP provider and then to send SMS and MMS messages you can install an app called Chatty: https://flathub.org/apps/sm.puri.Chatty

[โ€“] [email protected] 0 points 5 months ago (1 children)
[โ€“] [email protected] 1 points 5 months ago (1 children)

How would this transfer SMS to desktop?

[โ€“] [email protected] 1 points 5 months ago

Well you'd start here

https://www.geeky-gadgets.com/how-use-meshtastic/

You self host a comms server, i use matrix, and that forwards the message to you.

If you're directly tied to the SMS protocol you can setup a repeater here https://hackaday.com/2022/02/21/an-off-grid-makeshift-cell-network/

https://wiki.matrixcomsec.com/index.php?title=How_to_send_and_receive_SMS_using_SMS_Gateway_in_SARVAM_UCS%3F

Then it's meshtastic -> Matrix -> SMS gateway

[โ€“] [email protected] -2 points 5 months ago

Been a few years since using Emacs extensively. From memory, IRC is a good fit for what you are after for texts and some emojis. No clue regarding multimedia messages.

If IRC is acceptable

Make your own channel on say, Libera chat, set your own rules for how long those messages are retained. Make a user for each of your devices. You are set. I've used ERC a few years under Emacs. Also used GNUS for reading and writing emails from the big providers.