Help - Search - Members - Calendar
Full Version: SendSms is bugged?
Skype Community > English > Development, Betas and Skype Garage > Skype Public API
Felipe Fujiy Pessoto
sc.SendSms("+12345", "Test", "+12345");

Dont work, just work if i put null at last argument:

sc.SendSms("+12345", "Test", null);
TheUberOverlord
QUOTE (Felipe Fujiy Pessoto @ Tue Jul 1 2008, 13:44)
Go to the original post
sc.SendSms("+12345", "Test", "+12345");

Dont work, just work if i put null at last argument:

sc.SendSms("+12345", "Test", null);


Please....Take the time to review the documentation when you think you have a problem:

"HRESULT SendSms([in] BSTR TargetNumbers,[in] BSTR MessageText,[in, defaultvalue("")] BSTR ReplyToNumber,[out, retval] ISmsMessage **pMessage)
This command sends an SMS message.

Parameters:

[out] TargetNumbers contains a comma-separated list of target numbers.

[out] MessageText contains text of the message to send.

[out] ReplyTo contains the reply-to number.

[out] pMessage receives the interface pointer for the SmsMessage object."

From: https://developer.skype.com/Docs/Skype4COMLib/ISkype#SendSms

Also See Example:

https://developer.skype.com/Docs/Skype4COML...cemailServer_cs

CODE
static String sMyMobileNumber = "+1234567890";
SmsMessage oMessage = oSkype.SendSms(sMyMobileNumber, "Sending You This From a Program", "");
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.