Specifications

EMAILMANAGEMENTATCOMMANDS
HSPA+ATCommandsReferenceGuide 264
EmailManagementATCommands
EmailSMTPServer#ESMTP
SetcommandsetstheSMTPserveraddress,usedtosendemails.SMTPservercanbespecifiedasIPaddressoras
anickname.
ReadcommandreportsthecurrentSMTPserveraddress,intheformat:
#ESMTP:<smtp>
Testcommandreturnsthemaximumlengthfortheparameter<smtp>.
Syntax
Command Commandtype
AT#ESMTP=[<smtp>] Set
AT#ESMTP? Read
AT#ESMTP=? Test
ParametersandValues
<smtp> Stringtype,serveraddress.Thisparametercanbeeither:
ValidIPaddressintheformat:xxx.xxx.xxx.xxx.
HostnametobesolvedwithaDNSqueryintheformat:<hostname>
Default:emptystring“”.
Note:Themaximumlengthfor<smtp>istheoutputofTestcommand.
Notes
TheSMTPserverisusedinsidetheAPNspace(thesmtpserverprovidedbythenetworkoperator)oritmust
allowtheRelay,otherwiseitrefusestosendemail.
Examples
AT#ESMTP="smtp.mydomain.com"
OK
EmailSenderAddress#EADDR
Setcommandsetsthesenderaddressstringusedforsendingemail.
Readcommandreportsthecurrentsenderaddress,intheformat:
#EADDR:<eaddr>
Testcommandreturnsthemaximumallowedlengthofthestringparameter<eaddr>.
Syntax
Command Commandtype
AT#EADDR=[<eadd>] Set
AT#EADDR? Read