GetReplyText (Email function): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
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>% | |||
<td>A string or longstring variable to contain the | <tr><th>%string</th> | ||
server response. | <td>A string or longstring variable to contain the server response.</td></tr> | ||
</td></tr> | |||
<tr><th> | <tr><th>email</th> | ||
<td> | <td>An <var>Email</var> object.</td></tr> | ||
</table> | |||
</td></tr></table> | |||
==Usage notes== | ==Usage notes== | ||
<ul> | <ul> | ||
<li>If the <var>[[Mail (Email function)|Mail]]</var> method | <li>If the <var>[[Mail (Email function)|Mail]]</var> method | ||
has not yet been invoked | has not yet been invoked | ||
for the | 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. |
---|---|
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.