Domain (Email property): Difference between revisions
Jump to navigation
Jump to search
m (Automatically generated page update) |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Template:Email:Domain subtitle}} | {{Template:Email:Domain subtitle}} | ||
This | This method retrieves or sets the domain name of the SMTP server host. | ||
==Syntax== | ==Syntax== | ||
{{Template:Email:Domain syntax}} | {{Template:Email:Domain syntax}} | ||
===Syntax terms=== | ===Syntax terms=== | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>% | <tr><th>%currentString</th> | ||
<td>A string or longstring variable to contain the current value of the <var>Domain</var> property</td></tr> | |||
<tr><th>email</th> | <tr><th>email</th> | ||
<td>Email object</td></tr> | <td>An <var>Email</var> object.</td></tr> | ||
<tr><th>newString</th> | |||
<td>The domain name of the SMTP server host. </td></tr> | |||
</table> | </table> | ||
==Usage notes== | ==Usage notes== | ||
<ul> | |||
<li>You can set the domain name to an arbitrary | |||
string, but generally you should set it to the domain of the host that | |||
is sending the email. The default is the value specified in the | |||
<var>[[JANUS DOMAIN]]</var> specification. | |||
</ul> | |||
==See also== | ==See also== | ||
{{Template:Email:Domain footer}} | {{Template:Email:Domain footer}} |
Latest revision as of 21:02, 14 August 2012
Domain name of host (Email class)
This method retrieves or sets the domain name of the SMTP server host.
Syntax
%currentString = email:Domain email:Domain = newString
Syntax terms
%currentString | A string or longstring variable to contain the current value of the Domain property |
---|---|
An Email object. | |
newString | The domain name of the SMTP server host. |
Usage notes
- You can set the domain name to an arbitrary string, but generally you should set it to the domain of the host that is sending the email. The default is the value specified in the JANUS DOMAIN specification.