<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://docs.hostway.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://docs.hostway.com/index.php?action=history&amp;feed=atom&amp;title=POST_Exchange_Email_Alias</id>
		<title>POST Exchange Email Alias - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://docs.hostway.com/index.php?action=history&amp;feed=atom&amp;title=POST_Exchange_Email_Alias"/>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=POST_Exchange_Email_Alias&amp;action=history"/>
		<updated>2026-05-18T10:13:23Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://docs.hostway.com/index.php?title=POST_Exchange_Email_Alias&amp;diff=1986&amp;oldid=prev</id>
		<title>Mike.robski: 1 revision: Release 103</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=POST_Exchange_Email_Alias&amp;diff=1986&amp;oldid=prev"/>
				<updated>2015-02-06T17:24:36Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision: Release 103&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 17:24, 6 February 2015&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Mike.robski</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php?title=POST_Exchange_Email_Alias&amp;diff=1985&amp;oldid=prev</id>
		<title>Velimira.metodieva: /* Examples */</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=POST_Exchange_Email_Alias&amp;diff=1985&amp;oldid=prev"/>
				<updated>2014-07-15T14:28:38Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Examples&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 14:28, 15 July 2014&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;; username - ''''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;; username - ''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;string&lt;/ins&gt;''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;: - Username of email address. Allowed are only letters, numbers, underscores, dashes and nonconsecutive dots.&amp;#160; Dots cannot be at the beginning or the end of the value. From 1 to 52 characters long.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;: - Username of email address. Allowed are only letters, numbers, underscores, dashes and nonconsecutive dots.&amp;#160; Dots cannot be at the beginning or the end of the value. From 1 to 52 characters long.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 64:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 64:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; Date : Fri, 01 Jun 2012 23:51:29 GMT&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; Date : Fri, 01 Jun 2012 23:51:29 GMT&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; Connection : keep-alive&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; Connection : keep-alive&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; Location : http://coreapi01.ote.chicago.hostway:8098/accounts/popescu300021/exchange/ng-test-hwus-petre-120120b.com/emailAliases /john/&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; Location : http://coreapi01.ote.chicago.hostway:8098/accounts/popescu300021/exchange/ng-test-hwus-petre-120120b.com/emailAliases/john/&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; Content-Length : 0&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; Content-Length : 0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Velimira.metodieva</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php?title=POST_Exchange_Email_Alias&amp;diff=1444&amp;oldid=prev</id>
		<title>Mike.robski: 1 revision: Release 95</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=POST_Exchange_Email_Alias&amp;diff=1444&amp;oldid=prev"/>
				<updated>2014-07-02T05:59:32Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision: Release 95&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 05:59, 2 July 2014&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Mike.robski</name></author>	</entry>

	<entry>
		<id>http://docs.hostway.com/index.php?title=POST_Exchange_Email_Alias&amp;diff=1443&amp;oldid=prev</id>
		<title>Mike.robski at 13:41, 20 May 2013</title>
		<link rel="alternate" type="text/html" href="http://docs.hostway.com/index.php?title=POST_Exchange_Email_Alias&amp;diff=1443&amp;oldid=prev"/>
				<updated>2013-05-20T13:41:44Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Create an Email Alias&lt;br /&gt;
&lt;br /&gt;
'''POST''' &amp;lt;code&amp;gt;''{server_name}''/accounts/''{account_number}''/exchange/''{domain_name}''/emailAliases&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
; account_number - ''string''&lt;br /&gt;
: The account-number that the Exchange resource belongs to&lt;br /&gt;
&lt;br /&gt;
; domain_name - ''string''&lt;br /&gt;
: The domain-name that is associated with the Exchange resource&lt;br /&gt;
&lt;br /&gt;
== Request Body ==&lt;br /&gt;
  &amp;lt;nowiki&amp;gt;{&lt;br /&gt;
    &amp;quot;emailalias&amp;quot; : {&lt;br /&gt;
          &amp;quot;username&amp;quot;: &amp;quot;john&amp;quot;,&lt;br /&gt;
	  &amp;quot;emailForward&amp;quot;: &amp;quot;johnjello@domainname.com&amp;quot;&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
  &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
; username - ''''&lt;br /&gt;
: - Username of email address. Allowed are only letters, numbers, underscores, dashes and nonconsecutive dots.  Dots cannot be at the beginning or the end of the value. From 1 to 52 characters long.&lt;br /&gt;
&lt;br /&gt;
; emailForward - ''string''&lt;br /&gt;
: - Target email address.  Must be a valid email address. The domain-name of the address must be the same as the domain-name associated with the Exchange resource.&lt;br /&gt;
&lt;br /&gt;
=== Expected Response Codes ===&lt;br /&gt;
;201&lt;br /&gt;
: Created&lt;br /&gt;
&lt;br /&gt;
;400&lt;br /&gt;
: External forward; Email forwarding to the same address; Validation error&lt;br /&gt;
&lt;br /&gt;
;405&lt;br /&gt;
: Unsupported method&lt;br /&gt;
&lt;br /&gt;
;409&lt;br /&gt;
: Username already exists&lt;br /&gt;
&lt;br /&gt;
;502&lt;br /&gt;
: Internal server error&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
'''POST {server_name}/accounts/account300021/exchange/ng-test-hwus-120120b.com/emailAliases'''&lt;br /&gt;
&lt;br /&gt;
''- Request Headers:''&lt;br /&gt;
    Content-Type:application/json&lt;br /&gt;
    Charset=UTF-8&lt;br /&gt;
    Authorization:Base64-encoded username &amp;amp; password string&lt;br /&gt;
&lt;br /&gt;
''- Request Body:''&lt;br /&gt;
  &amp;lt;nowiki&amp;gt;{&lt;br /&gt;
    &amp;quot;emailalias&amp;quot; : {&lt;br /&gt;
          &amp;quot;username&amp;quot;: &amp;quot;john&amp;quot;,&lt;br /&gt;
	  &amp;quot;emailForward&amp;quot;: &amp;quot;johnjello@ng-test-hwus-120120b.com&amp;quot;&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
  &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''- Response:''&lt;br /&gt;
''Created (201)'': &lt;br /&gt;
 Server : nginx/0.6.32&lt;br /&gt;
 Date : Fri, 01 Jun 2012 23:51:29 GMT&lt;br /&gt;
 Connection : keep-alive&lt;br /&gt;
 Location : http://coreapi01.ote.chicago.hostway:8098/accounts/popescu300021/exchange/ng-test-hwus-petre-120120b.com/emailAliases /john/&lt;br /&gt;
 Content-Length : 0&lt;br /&gt;
&lt;br /&gt;
*There will be a Location in the response header pointing to the newly created resource.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''- Request Body with Invalid data:''&lt;br /&gt;
  &amp;lt;nowiki&amp;gt;{&lt;br /&gt;
   &amp;quot;emailalias&amp;quot;: {&lt;br /&gt;
         &amp;quot;username&amp;quot;: &amp;quot;new_alias&amp;quot;,&lt;br /&gt;
         &amp;quot;emailForward&amp;quot;: &amp;quot;new_alias@ng-test-hwus-petre-120120b.com&amp;quot;&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
  &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''- Response:''&lt;br /&gt;
''BadRequest (400)'': &lt;br /&gt;
  &amp;lt;nowiki&amp;gt;{&lt;br /&gt;
   &amp;quot;computeFault&amp;quot;: {&lt;br /&gt;
         &amp;quot;message&amp;quot;: &amp;quot;Email forwarding to the same address is not allowed&amp;quot;,&lt;br /&gt;
         &amp;quot;code&amp;quot;: 400, &amp;quot;details&amp;quot;: &amp;quot;&amp;quot;&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
  &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Hostway API]]&lt;br /&gt;
[[Category:Exchange API]]&lt;/div&gt;</summary>
		<author><name>Mike.robski</name></author>	</entry>

	</feed>