SetMailBody()

Syntax

SetMailBody(#Mail, Body$)
Description
Change the #Mail body. GetMailBody() can be used to get it back.

Example:

  InitNetwork()

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

Supported OS

All

<- SetMailAttribute() - Mail Index