用DELPHI语言怎么实现发短信功能

本文提供了一个DELPHI对接验证码短信接口的DEMO示例,讲解如何使用DELPHI语言实现发送验证码或订单通知短信。通过互亿无线触发短信接口,开发者需要注意调试期间使用默认短信内容,并正确配置用户名和APIkey。该代码可供参考,以便自定义短信接口集成。
摘要由CSDN通过智能技术生成

DELPHI语言对接验证码短信接口DEMO示例
//接口类型:互亿无线触发短信接口,支持发送验证码短信、订单通知短信等。
//账户注册:请通过该地址开通账户 http://user.ihuyi.com/?DKimmu
//注意事项:
//(1)调试期间,请使用用系统默认的短信内容:您的验证码是:【变量】。请不要把验证码泄露给其他人。
//(2)请使用 用户名 及 APIkey来调用接口,APIkey在会员中心可以获取;
//(3)该代码仅供接入互亿无线短信接口参考使用,客户可根据实际需要自行编写;

// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL     : http://106.ihuyi.com/webservice/sms.php?wsdl
//  >Import : http://106.ihuyi.com/webservice/sms.php?wsdl:0
// Encoding : utf-8
// Version  : 1.0
// (2013/11/26 10:37:24 - - $Rev: 10138 $)
// ************************************************************************ //

unit sms;

interface

uses InvokeRegistry, SOAPHTTPClient, Types, XSBuiltIns;

const
  IS_OPTN = $0001;
  IS_REF  = $0080;


type

  // ************************************************************************ //
  // The following types, referred to in the WSDL document are not being represented
  // in this file. They are either aliases[@] of other types represented or were referred
  // to but never[!] declared in the document. The types from the latter category
  // typically map to predefined/known XML or Borland types; however, they could also 
  // indicate incorrect WSDL documents that failed to declare or import a schema type.
  // ************************************************************************ //
  // !:int             - "http://www.w3.org/2001/XMLSchema"[Gbl]
  // !:string          - "http://www.w3.org/2001/XMLSchema"[Gbl]
  // !:srting          - "http://www.w3.org/2001/XMLSchema"[Gbl]

  SubmitResult         = class;                 {
    "http://106.ihuyi.com/"[GblCplx] }
  ChangePasswordResult = class;                 {
    "http://106.ihuyi.com/"[GblCplx] }
  GetNumResult         = class;                 {
    "http://106.ihuyi.com/"[GblCplx] }
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值