question

myles-lewis11755 avatar image
myles-lewis11755 asked Khadhar Koneti answered

List of content-types to use when sending MMS attachments.

Is there a list that shows the correct content-types to use for all the supported MMS attachment file types? It can be a bit confusing to try to figure out.


For example, both .jpg and .jpeg have to use 'image/jpeg' ('image/jpg' won't work). To send a .vcf file you have to use 'text/vcard', etc.


I still haven't figured out how to send .html files. I've tried 'text/html', 'text/plain', and 'text/x-html'. It would be a lot easier if these were all just listed out somewhere.

sdkmms
1 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Anirban Sen Chowdhary avatar image
Anirban Sen Chowdhary answered myles-lewis11755 commented

Here is the content type for mms attachment files:

Receiving

Sending

• Images: jpg/jpeg, png, gif, bmp , tif /tiff, svg
• Videos: 3gp, mp4, mpeg , flv , wmv , mov
• Audio: mp3
• Files: vcf / vcard , zip, rtf , html , txt

• Images: jpg/jpeg, png, gif, bmp, tif/tiff, svg
• Videos: 3gp, mp4, mpeg, flv, wmv, mov
• Audio: mp3
• Files: vcf/vcard, zip, rtf, html


Ref: https://support.ringcentral.com/s/article/7227?language=en_US

1 comment
1 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

myles-lewis11755 avatar image myles-lewis11755 commented ·

Hi Anirban, thanks for your answer, but that's the part I already know. What I'm looking for is the syntax that the content type has to be in to actually send that attachment. Please re-read my question.

0 Likes 0 ·
Phong Vu avatar image
Phong Vu answered

We don't redefine the mime type. You can check the supported attachment content and look up from e.g. this list.

E.g.


1 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Khadhar Koneti avatar image
Khadhar Koneti answered

In the below link you will find the list of content types.

https://www.sitepoint.com/mime-types-complete-list/

1 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.