Pricing plans  Services  API  Partners  About the service  Contacts 
8 (800) 700 7672
Free in Russia

FAQ Х How to send an e-mail message with an attachment via the HTTP API

For sending e-mail messages with the subject "Holiday" and two photos through our library based on the cURL you can use the following example:

include "smsc_api.php";
send_sms("", "Hello", 0, 0, 0, 8, "", "subj=Holiday", ["/home/alex/1.jpg", "/home/alex/2.jpg"]);

Send e-mail with the subject "Hello" and a photo that you previously downloaded to the server:

include "smsc_api.php";
send_sms("", "Hello, this is my photo <file /upload/files/sms/123abc/photo.jpg width=200 height=400>", 0, 0, 0, 8, "", "subj=Hello");

← Ago  All questions

© 2003Ц2024 SMS Center LLC
Design Ч Artemy Lebedev Studio
Site Information
SMS Center for Android Yandex. Metrica