GetReplyText (Email function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
 
Line 3: Line 3:
==Syntax==
==Syntax==
{{Template:Email:GetReplyText syntax}}
{{Template:Email:GetReplyText syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%string</th>
<tr><th>%string</th>
<td>A string or longstring variable to contain the server response.
<td>A string or longstring variable to contain the server response.</td></tr>
</td></tr>
 
<tr><th>email</th>
<tr><th>email</th>
<td>A previously declared <var>Email</var> object.
<td>An <var>Email</var> object.</td></tr>
</table>
</td></tr></table>


==Usage notes==
==Usage notes==
Line 18: Line 19:
has not yet been invoked
has not yet been invoked
for <var class="term">email</var> (the method object), <var>GetReplyText</var> returns the null string.
for <var class="term">email</var> (the method object), <var>GetReplyText</var> returns the null string.
<li><var>[[GetReplyCode (Email function)|GetReplyCode]]</var>
<li><var>[[GetReplyCode (Email function)|GetReplyCode]]</var>
returns the numeric value associated with the message text.
returns the numeric value associated with the message text.
</ul>
</ul>
==See also==
==See also==
{{Template:Email:GetReplyText footer}}
{{Template:Email:GetReplyText footer}}

Latest revision as of 21:38, 14 August 2012

Retrieve the last response (Email class)


Syntax

%string = email:GetReplyText

Syntax terms

%string A string or longstring variable to contain the server response.
email An Email object.

Usage notes

  • If the Mail method has not yet been invoked for email (the method object), GetReplyText returns the null string.
  • GetReplyCode returns the numeric value associated with the message text.

See also