从电子邮件到用户手机上的短信 [英] From email to sms on user phone

查看:87
本文介绍了从电子邮件到用户手机上的短信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我想要一些有关如何开始的想法.首先,就像我的计算机是一台服务器,并且它们的客户端如此之多.我必须通过其ipv4和ipv6地址以及服务器的端口地址在客户端和服务器之间建立连接.我必须确保,如果客户在其电子邮件ID上收到任何电子邮件,它将以所需的格式自动发送到客户手机.我必须使用c语言使该应用程序变得更清晰.
我正在使用wavecom gsm调制解调器.
谢谢,

问候,
Vishavdeep Goyal

Hello Everyone,
I want some idea about to how will i start.Firstly like my computer is a server and their are so many clients.i have to establish a connection between client and server by means of their ipv4 and ipv6 address and port address of server. I have to make like if client get any email on his email id it will automatically send to client mobile phone in the desired format. I have to make this application in c sharp.
I am using wavecom gsm modem.
Thanx,

Regards,
Vishavdeep Goyal

推荐答案

使用 AT命令 [ ^ ]可以通过Wavecom发送和接收SMS .

请记住,它使用的是不同的编码( GSM默认字母(GSM 03.38) [ ^ ]),例如发送"@"字符编码为0x00.

使用AT + CSCS设置TE字符集以支持正确的编码.
AT + CSCS =?列出所有支持的编码.但是请注意,并非所有GSM单元/调制解调器都支持所有类型的编码.

真正做到正确的方法.您必须通过AT + CMGF命令将SMS消息格式切换为PDU编码.
通过PDU格式,您可以选择正确的编码,发送长短信(超过160个字符),发送图片,铃声等.

使用AT指令通过GSM调制解调器发送和读取SMS [
Use AT commands[^] to send and receive SMS via your Wavecom.

Remember that it is using a diffent encoding (GSM default alphabet (GSM 03.38)[^]) where something like sending a "@" char is encoded as 0x00.

Use AT+CSCS to set TE character set to support the correct encoding.
AT+CSCS=? to list all supported encodings. But please note, that not all GSM units/modem support all types of encoding.

To really make it the correct way. You have to switch SMS message format to PDU encoding via AT+CMGF command.
Via PDU format, you can select the correct encoding, make long SMS ( over 160 char ), sending pictures, ring tone etc..

Send and Read SMS through a GSM Modem using AT Commands[^]

On the email part. You can use IMAP4 to retrieve emails that has to be converted to a SMS/Text message and sent to the mobile phone.
Alternative you can build your own SMTP receiver and receive emails directly to your program.


这篇关于从电子邮件到用户手机上的短信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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