SetMailBody()

语法

SetMailBody(#Mail, Body$)
概要
Change the mail body. GetMailBody() can be used to read the body content.

参数

#Mail The mail to use.
Body$ The string for the new mail body.

返回值

无.

Remarks

According to the RFC 2822 standard a line break in an e-mail need to be done always using the #CRLF$ chars.

示例

  InitNetwork()

  If CreateMail(0, "test@purebasic.com", "Hello")
    SetMailBody(0, "This is the body")
    Debug GetMailBody(0) ; Will print "This is the body"
  EndIf

参阅

GetMailAttribute(), CreateMail()

已支持操作系统

所有

<- SetMailAttribute() - Mail Index