Re: MMS now Supported in envayaSMS

162 views
Skip to first unread message
Message has been deleted
Message has been deleted

Luis Valle

unread,
Feb 22, 2021, 4:50:36 PM2/22/21
to envayasms
(Reposting here since I should have added it to it's own conversation)

I'm posting a modified version of envayaSMS with MMS support for sending the following file-types:
  • jpg (tested and working)
  • mp4 (tested and working)
  • gif (not tested)
  • tiff (not tested)
  • png (not tested)
  • wbmp (not tested)
  • avi (not tested)
  • m4v (not tested)
  • mpg (not tested)
WARNING!: this version is still under testing and should be considered a beta. SENDING MMS messages does not work over WIFI! Therefor the app will toggle wifi to off for MMS messages and on again after sending the message which might generate some errors.

THIS HAS ONLY BEEN TESTED on an LG phone running android version 8.0.0 (ATT carrier) - I have no clue how it will do with other phones specially older models.

ALSO you need to find out your carrier's APN settings which you must pass to envayaSMS in the request JSON object. Retrieving APN settings from the app is no longer allowed in modern versions of Android, therefor the reason to do it this way. Maybe in the future we can look into adding more textboxes in the app to store those settings via the UI. You can find your APN settings by doing a google search for something like "apn settings for verizon".


Sending MMS attachments is supported in two ways:
  1. passing a valid file Url (example: https://www.misalon.club/SharedFiles/26981726.jpg)
  2. passing a base64 encoded file string (not recommended, but has been tested with really small files and works)

REQUIREMENTS:
  • download and install this version of envayaSMS (HERE)
  • modify your JSON request object as the following:
{
events: [
{
event: "send"
messages: [
{
id: 7593539,
to: "+19035671277",         // cell number must start with + and coutry code like +1 for USA
message: "this is a sample MMS message",
// all values below are optional and only required for MMS messages
messagetype: "MMS",    // use "SMS" for regular messages
messageattachmentfiletype: "url", // use "base64" for passing a base64 encoded file
messageattachmentfileextension: "jpg", // see the above list for supported types
messageattachmenturlorbase64: "https://www.misalon.club/SharedFiles/26981726.jpg", // or the base64 string
apnmmsc: "http://mmsc.mobile.att.net", // must be specific to your mobile carrier
apnproxy: "proxy.mobile.att.net", // must be specific to your mobile carrier
apnport: "80" // must be specific to your mobile carrier
}
]
}
]
}



I will post more updates as I get to fixing/improving things...  

Denis Coderr

unread,
May 6, 2021, 4:55:23 PM5/6/21
to envayasms
Hi Luis !

Awesome work, I was wondering if you could make a custom modification that could benefit multiple people; I am willing to donate for your time and community work.

I would like to be able to send MMS with subject line, this would allow to send MMS without any pictures or media contents.

You can contact me by email at coderrdenis [at] gmail

Thank you!

Denis Coderr

unread,
May 6, 2021, 4:57:09 PM5/6/21
to envayasms
If you don't have the time, would you mind sharing the source code of the modified version ?

Thanks !

Tapuwa Dhliwayo Octoplus

unread,
Jul 28, 2021, 7:15:44 AM7/28/21
to envayasms
Hi
I am currently updating an app that used the old version EnvayaSMS for my company Octoplus and I saw that you updated the application for modern androids would you mind please sharing the source code of you app so I could compare with our current app and make necessary upgrades?

Your response would be much appreciated

Luis Valle

unread,
Oct 8, 2024, 8:41:28 PM10/8/24
to envayasms
After a log delay (years and years) here's the source code:

https://github.com/fictus/EnvayaSMSMMS

WARNING!  I am not a Java developer so my code changes are very buggy, reason why I never released it in the first place. This project needs love from a true Java developer - you have been warned.
Reply all
Reply to author
Forward
0 new messages