售前咨询
400-6999-710 , 13788998373
* 在线可以咨询售前、售后、技术开发等问题,联麓信息365天x24小时为你服务!在线技术工程师帮你解决遇到的任何问题。
售前顾问咨询 09:00 - 20:00 (24x7)
API文档
代码示例

Delphi说明

Delphi接口文档下载:点击下载
普通短信发送
用户在遵循HTTP协议的前提下,可通过GET和POST方式提交短信发送请求
普通短信发送
短信可以提交不超过50000个手机号码,每个号码用英文逗号间隔。 (一次提交发送超过200个手机号码,请使用POST请求)
Delphi代码示例:

object frmMain: TfrmMain

  Left = 192

  Top = 114

  Caption = 'SendSmsDemo for Delphi XE'

  ClientHeight = 414

  ClientWidth = 721

  Color = clBtnFace

  Font.Charset = GB2312_CHARSET

  Font.Color = clWindowText

  Font.Height = -12

  Font.Name = #23435#20307

  Font.Style = []

  OldCreateOrder = False

  Position = poScreenCenter

  OnCreate = FormCreate

  PixelsPerInch = 96

  TextHeight = 12

  object Label1: TLabel

    Left = 496

    Top = 24

    Width = 132

    Height = 12

    Caption = #27979#35797#24080#21495' test '#23494#30721#30456#21516

    Font.Charset = GB2312_CHARSET

    Font.Color = clBlue

    Font.Height = -12

    Font.Name = #23435#20307

    Font.Style = []

    ParentFont = False

  end

  object Label2: TLabel

    Left = 136

    Top = 64

    Width = 60

    Height = 12

    Caption = #25163#26426#21495#30721#65306

  end

  object Label3: TLabel

    Left = 136

    Top = 352

    Width = 60

    Height = 12

    Caption = #36820#22238#20449#24687#65306

  end

  object Label4: TLabel

    Left = 136

    Top = 88

    Width = 60

    Height = 12

    Caption = #30701#20449#20869#23481#65306

  end

  object Label5: TLabel

    Left = 57

    Top = 389

    Width = 30

    Height = 12

    Caption = 'URL'#65306

  end

  object Button1: TButton

    Left = 16

    Top = 16

    Width = 75

    Height = 25

    Caption = #39564#35777#24080#21495

    TabOrder = 0

    OnClick = Button1Click

  end

  object Button2: TButton

    Left = 104

    Top = 16

    Width = 75

    Height = 25

    Caption = #26597#35810#20313#39069

    TabOrder = 1

    OnClick = Button2Click

  end

  object Button3: TButton

    Left = 16

    Top = 56

    Width = 75

    Height = 25

    Caption = #21457#36865#30701#20449

    TabOrder = 2

    OnClick = Button3Click

  end

  object CheckBox1: TCheckBox

    Left = 200

    Top = 21

    Width = 81

    Height = 17

    Caption = #23450#26102#21457#36865#65306

    TabOrder = 3

  end

  object DateTimePicker1: TDateTimePicker

    Left = 288

    Top = 18

    Width = 97

    Height = 20

    Date = 40714.614682789350000000

    Time = 40714.614682789350000000

    TabOrder = 4

  end

  object DateTimePicker2: TDateTimePicker

    Left = 392

    Top = 18

    Width = 81

    Height = 20

    Date = 40714.614682789350000000

    Time = 40714.614682789350000000

    Kind = dtkTime

    TabOrder = 5

  end

  object Memo1: TMemo

    Left = 200

    Top = 88

    Width = 505

    Height = 249

    Lines.Strings = (

      #22312#36825#37324#36755#20837#30701#20449#20869#23481)

    ScrollBars = ssBoth

    TabOrder = 6

  end

  object Edit1: TEdit

    Left = 200

    Top = 59

    Width = 505

    Height = 20

    TabOrder = 7

    Text = #22312#36825#37324#36755#20837#25163#26426#21495#30721#65292#22810#20010#21495#30721#29992#36887#21495'(,)'#38388#38548#12290

  end

  object Edit2: TEdit

    Left = 200

    Top = 347

    Width = 505

    Height = 20

    TabOrder = 8

  end

  object edtURL: TEdit

    Left = 111

    Top = 386

    Width = 582

    Height = 20

    TabOrder = 9

    Text = 'http://sms.shlianlu.com/sms.aspx?action=send'

  end

  object IdHTTP1: TIdHTTP

    AllowCookies = True

    ProtocolVersion = pv1_0

    ProxyParams.BasicAuthentication = False

    ProxyParams.ProxyPort = 0

    Request.ContentLength = -1

    Request.ContentRangeEnd = -1

    Request.ContentRangeStart = -1

    Request.ContentRangeInstanceLength = -1

    Request.Accept = 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'

    Request.BasicAuthentication = False

    Request.UserAgent = 'Mozilla/3.0 (compatible; Indy Library)'

    Request.Ranges.Units = 'bytes'

    Request.Ranges = <>

    HTTPOptions = [hoForceEncodeParams]

    Left = 40

    Top = 128

  end

end


产品与服务
验证码API短信
通知短信
会员通知短信
会员营销短信
彩信营销
视频彩信营销
联麓云文档中心
短信验证码
国际验证码接口
彩信文档
会员营销接口
联系我们
咨询热线:400-6999-710
客户经理:13788998373
投诉专线:17701870888
渠道合作:18001911753
公司地址:上海市奉贤区宝龙广场2号楼1510
公众号
扫描二维码关注
微信ID:LLxinxigzh