发送与发送通过互联网接收Winforms的短信 [英] Sending & receiving sms through internet for winforms

查看:62
本文介绍了发送与发送通过互联网接收Winforms的短信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在使用c#.net winfoms.

在我的应用程序中,我想通过互联网发送和接收短信和电子邮件.是否可以通过互联网发送短信.

对于发送电子邮件,我正在使用SMTP服务器,但有时它可以工作,或者有时不起作用.请迟到我知道我在哪里做错了吗?并提供适当的代码.

在此先感谢

Hi,

I am using c#.net winfoms.

In my application I want to send & receive SMS & Emails through internet. Is it possible to send the sms through internet.

For Emails sending i am using SMTP server but some time it work or some time not.Please late me know where i am doing the mistake? & provide me the proper code.

Thanks in advance

推荐答案

您好朋友..

1)通过Internet发送短信..

要使用Internet连接发送SMS,您需要访问SMS服务提供商提供的Web服务..

有时它是免费的,或者主要是您需要根据发送的SMS付费..

一旦获得服务,就可以使用Internet连接轻松发送短信.

*只需添加服务的网络参考,并使用该参考及其对象即可.
您可以直接调用其方法来发送SMS..


2)使用SMTP通过Internet发送电子邮件..

首先,我听不懂您说的是什么,有些时候将使用smtp发送电子邮件,或者有些时候不使用smtp发送..

因此,对于您的代码来说,您需要发布代码以用于发送电子邮件...

这样我们就可以纠正您的代码(如果有任何错误),并在您尝试发送邮件时提供错误消息,但它不会发送..
Hello friend..

1) sending SMS over Internet..

for sending SMS using internet connection you need to access a webservice provided by your SMS service provider..

some times its free or mostly you need to pay a cost as per SMSs you send..

once you got your service then it''s easy to send the SMS using internet connection.

* just add web refrence of your service and using that refrence and its object.
you can directly call its method to send SMSs..


2) Email over internet using SMTP..

first of all i cant understand what you say, some time email will be send or some time its not sending using smtp..

so for your corection of code you need to post you code using which you send Email...

so we can correct you code if any error there, and also provied the error message when you try to send mail and it will not send..


这篇关于发送与发送通过互联网接收Winforms的短信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆