GetMailBody()

Syntax

Result$ = GetMailBody(#Mail)
Description
Return the specified mail body, previously set with SetMailBody().

Parameters

#Mail The mail to use.

Return value

Returns the body as a string.

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

See Also

SetMailBody(), CreateMail()

Supported OS

All

<- GetMailAttribute() - Mail Index - IsMail() ->