{"id":347,"date":"2026-11-28T22:46:25","date_gmt":"2026-11-28T22:46:25","guid":{"rendered":"https:\/\/goadmio.com\/blog\/go-mail-command\/"},"modified":"2026-11-28T22:46:25","modified_gmt":"2026-11-28T22:46:25","slug":"go-mail-command","status":"publish","type":"post","link":"https:\/\/goadmio.com\/blog\/go-mail-command\/","title":{"rendered":"\/go\/mail: mail from the Command Line"},"content":{"rendered":"<p>\/go\/mail creates and manages the email accounts of hosted domains. Depending on &#8211;action, it can: Most actions end by starting \/go\/vmail in the background, which rebuilds the mail maps for Postfix and Dovecot. A change usually takes effect a few seconds after the command finishes. Every admin action in <a href=\"https:\/\/www.goadmio.com\/\">GoAdmio<\/a> has a matching <code>\/go\/<\/code> command, so anything you can click you can also script.<\/p>\n<h2>Quick start<\/h2>\n<p><code># Add an address<br \/>\n\/go\/mail --action add --email info@example.com --domain example.com --pass 'S3cure-Pass9'<\/p>\n<p># Change its password<br \/>\n\/go\/mail --action edit --email info@example.com --pass 'N3w-Pass-42'<br \/>\n<\/code><\/pre>\n<blockquote>\n<p>[!WARNING]<br \/>\nAlways pass <code>--action add<\/code> to create an account, and always pass <code>--pass<\/code>. Without <code>--action add<\/code>, nothing is created. Without <code>--pass<\/code>, the account is created with an <strong>empty password<\/strong>. Passwords are also written to the log in plain text. See <a href=\"#security\">Security<\/a>.<\/p>\n<\/blockquote>\n<h2>Options<\/h2>\n<h3>Actions<\/h3>\n<table>\n<thead>\n<tr>\n<th><code>--action<\/code><\/th>\n<th>What it does<\/th>\n<th>Needs<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>add<\/code><\/td>\n<td>Creates the account, its mailbox folder, and prints the connection settings.<\/td>\n<td><code>--email<\/code>, <code>--pass<\/code>, and <code>--domain<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>edit<\/code><\/td>\n<td>Sets a new password.<\/td>\n<td><code>--email<\/code>, <code>--pass<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>suspend<\/code><\/td>\n<td>Marks the account as suspended.<\/td>\n<td><code>--email<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>unsuspend<\/code><\/td>\n<td>Removes the suspension.<\/td>\n<td><code>--email<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>delete<\/code><\/td>\n<td>Removes the account. See <a href=\"#known-limitations\">Known limitations<\/a> for the mailbox files.<\/td>\n<td><code>--email<\/code>, <code>--domain<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>default<\/code><\/td>\n<td>Makes the address the catch-all of its domain.<\/td>\n<td><code>--email<\/code>, <code>--domain<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>create<\/code><\/td>\n<td>Creates accounts for the mailbox folders found under <code>\/home\/&lt;domain&gt;\/mail<\/code>.<\/td>\n<td><code>--domain<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>If <code>--action<\/code> is missing or isn&#8217;t one of these, the command only checks the address and the domain, clears any rejection entry for the address, and rebuilds the mail maps. It creates nothing and prints no error.<\/p>\n<h3>Settings<\/h3>\n<table>\n<thead>\n<tr>\n<th>Option<\/th>\n<th>Used by<\/th>\n<th>Notes<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>--email<\/code><\/td>\n<td>All actions except <code>create<\/code><\/td>\n<td>The full address, such as <code>info@example.com<\/code>. For <code>add<\/code>, it must be a valid address on a domain hosted on this server.<\/td>\n<\/tr>\n<tr>\n<td><code>--pass<\/code><\/td>\n<td><code>add<\/code>, <code>edit<\/code><\/td>\n<td>The password. Avoid single quotes (<code>'<\/code>) in it.<\/td>\n<\/tr>\n<tr>\n<td><code>--domain<\/code><\/td>\n<td><code>add<\/code>, <code>delete<\/code>, <code>default<\/code>, <code>create<\/code><\/td>\n<td>The hosted domain. For <code>add<\/code>, it is used to look up the account&#8217;s system username, so pass it even though the domain also appears in the address.<\/td>\n<\/tr>\n<tr>\n<td><code>--forwardto<\/code><\/td>\n<td><code>add<\/code><\/td>\n<td>Forwarding address. Stored with the account.<\/td>\n<\/tr>\n<tr>\n<td><code>--keepcopy<\/code><\/td>\n<td><code>add<\/code><\/td>\n<td>Stored with the account, normally used with <code>--forwardto<\/code>.<\/td>\n<\/tr>\n<tr>\n<td><code>--reject<\/code><\/td>\n<td><code>add<\/code><\/td>\n<td>Stored with the account.<\/td>\n<\/tr>\n<tr>\n<td><code>--rejectmessage<\/code><\/td>\n<td><code>add<\/code><\/td>\n<td>Stored with the account.<\/td>\n<\/tr>\n<tr>\n<td><code>--defaultaddress<\/code><\/td>\n<td><code>add<\/code><\/td>\n<td>Stored with the account.<\/td>\n<\/tr>\n<tr>\n<td><code>--suspend<\/code><\/td>\n<td><code>add<\/code><\/td>\n<td>Stored with the account.<\/td>\n<\/tr>\n<tr>\n<td><code>--admin<\/code><\/td>\n<td><code>add<\/code><\/td>\n<td>Stored with the account.<\/td>\n<\/tr>\n<tr>\n<td><code>--description<\/code><\/td>\n<td><code>add<\/code><\/td>\n<td>A note about the account.<\/td>\n<\/tr>\n<tr>\n<td><code>--norestart<\/code><\/td>\n<td>All actions that rebuild the maps<\/td>\n<td><code>1<\/code> skips the background <code>vmail<\/code> rebuild.<\/td>\n<\/tr>\n<tr>\n<td><code>--timestamp<\/code><\/td>\n<td>None<\/td>\n<td>Accepted, but ignored. The current time is always used.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Settings you don&#8217;t pass are stored as empty values.<\/p>\n<h2>Examples<\/h2>\n<p><code># Add an address<br \/>\n\/go\/mail --action add --email info@example.com --domain example.com --pass 'S3cure-Pass9'<br \/>\n<\/code><\/pre>\n<p><code># Add an address that forwards to another one<br \/>\n\/go\/mail --action add --email sales@example.com --domain example.com --pass 'S3cure-Pass9' \\<br \/>\n  --forwardto owner@example.org<br \/>\n<\/code><\/pre>\n<p><code># Add several addresses, then rebuild the mail maps once<br \/>\n\/go\/mail --action add --email a@example.com --domain example.com --pass 'Pass-One-1' --norestart 1<br \/>\n\/go\/mail --action add --email b@example.com --domain example.com --pass 'Pass-Two-2' --norestart 1<br \/>\n\/go\/vmail<br \/>\n<\/code><\/pre>\n<p><code># Change a password<br \/>\n\/go\/mail --action edit --email info@example.com --pass 'N3w-Pass-42'<br \/>\n<\/code><\/pre>\n<p><code># Suspend and unsuspend an address<br \/>\n\/go\/mail --action suspend --email info@example.com<br \/>\n\/go\/mail --action unsuspend --email info@example.com<br \/>\n<\/code><\/pre>\n<p><code># Delete an address<br \/>\n\/go\/mail --action delete --email info@example.com --domain example.com<br \/>\n<\/code><\/pre>\n<p><code># Send all mail for unknown addresses to info@example.com<br \/>\n\/go\/mail --action default --email info@example.com --domain example.com<br \/>\n<\/code><\/pre>\n<p><code># Recreate accounts from the folders under \/home\/example.com\/mail<br \/>\n\/go\/mail --action create --domain example.com<br \/>\n<\/code><\/pre>\n<p><code># Restart the mail services<br \/>\n\/go\/mail restart<br \/>\n<\/code><\/pre>\n<h2>Output<\/h2>\n<h3><code>add<\/code><\/h3>\n<p>A single line of JSON with the connection settings for the new account. It prints <code>&quot;success&quot;: true<\/code> whenever the command reaches this point, so don&#8217;t rely on it to prove that the account exists.<\/p>\n<p><code>{<br \/>\n  &quot;success&quot;: true,<br \/>\n  &quot;title&quot;: &quot;creating_email_account&quot;,<br \/>\n  &quot;result&quot;: {<br \/>\n    &quot;incoming_mail_server_imap&quot;: &quot;&quot;,<br \/>\n    &quot;account_type&quot;: &quot;IMAP&quot;,<br \/>\n    &quot;imap_username&quot;: &quot;info@example.com&quot;,<br \/>\n    &quot;imap_hostname&quot;: &quot;imap.example.com&quot;,<br \/>\n    &quot;imap_port&quot;: &quot;993&quot;,<br \/>\n    &quot;imap_encryption&quot;: &quot;SSL&quot;,<br \/>\n    &quot;null&quot;: &quot;&quot;,<br \/>\n    &quot;outgoing_mail_server_smtp&quot;: &quot;&quot;,<br \/>\n    &quot;smtp_username&quot;: &quot;info@example.com&quot;,<br \/>\n    &quot;smtp_hostname&quot;: &quot;smtp.example.com&quot;,<br \/>\n    &quot;smtp_port&quot;: &quot;465&quot;,<br \/>\n    &quot;smtp_encryption&quot;: &quot;SSL&quot;<br \/>\n  }<br \/>\n}<br \/>\n<\/code><\/pre>\n<p>The real output is one line; it is formatted here for readability. The password is not included.<\/p>\n<p>The host names and ports depend on the SSL certificates on the server:<\/p>\n<table>\n<thead>\n<tr>\n<th>Condition<\/th>\n<th>IMAP<\/th>\n<th>SMTP<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>The domain has a Let&#8217;s Encrypt certificate<\/td>\n<td><code>imap.&lt;domain&gt;<\/code>, port 993, SSL<\/td>\n<td><code>smtp.&lt;domain&gt;<\/code>, port 465, SSL<\/td>\n<\/tr>\n<tr>\n<td>Otherwise, the server hostname has one<\/td>\n<td>The IMAP hostname (from <code>\/etc\/imap<\/code>, or the server hostname), port 993, SSL<\/td>\n<td>The server hostname, port 465, SSL<\/td>\n<\/tr>\n<tr>\n<td>Neither<\/td>\n<td><code>imap.&lt;domain&gt;<\/code>, port 143, no encryption<\/td>\n<td><code>smtp.&lt;domain&gt;<\/code>, port 25, no encryption<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>If the server setting <code>IMAPAlert<\/code> is <code>1<\/code>, the new address also receives its configuration by email, sent in the background with <a href=\"outlook\"><code>outlook<\/code><\/a>.<\/p>\n<h3>Other actions<\/h3>\n<table>\n<thead>\n<tr>\n<th>Action<\/th>\n<th>Message<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>default<\/code> with <code>--email<\/code><\/td>\n<td><code>GoAdmio will forward all unrouted email for &lt;domain&gt; to &lt;email&gt;.<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>default<\/code> without an address<\/td>\n<td><code>GoAdmio will forward all unrouted email for &lt;domain&gt; to 'Recipient address rejected: User unknown.'<\/code> (see <a href=\"#known-limitations\">Known limitations<\/a>)<\/td>\n<\/tr>\n<tr>\n<td><code>delete<\/code><\/td>\n<td><code>&lt;email&gt; has been deleted.<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>suspend<\/code><\/td>\n<td><code>&lt;email&gt; has been suspended.<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>unsuspend<\/code><\/td>\n<td><code>&lt;email&gt; has been unsuspended.<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>edit<\/code><\/td>\n<td><code>&lt;email&gt; Password has been modified successfully.<\/code> The line written to Dovecot&#8217;s password file is also printed.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Errors and exit status<\/h3>\n<table>\n<thead>\n<tr>\n<th>Message<\/th>\n<th>Meaning<\/th>\n<th>Exit status<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>MAIL: Unknown parameter: &lt;option&gt;<\/code><\/td>\n<td>A misspelled or unsupported option.<\/td>\n<td><code>1<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>Invalid Email Address &lt;email&gt;.<\/code><\/td>\n<td>The address isn&#8217;t valid.<\/td>\n<td><code>1<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>Account &lt;domain&gt; not exists<\/code><\/td>\n<td>The domain isn&#8217;t hosted on this server.<\/td>\n<td><code>1<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><code>restart<\/code> and <code>edit<\/code> always exit with status <code>1<\/code>, even when they work. Read the output, not the exit status.<\/p>\n<p>See the full reference at <a href=\"https:\/\/www.goadmio.com\/commands\/mail\">\/go\/mail<\/a> and the <a href=\"https:\/\/www.goadmio.com\/commands\">GoAdmio command index<\/a>.<\/p>\n<p>GoAdmio is free and open source, with no license fees and no account limits. Read the <a href=\"https:\/\/www.goadmio.com\/docs\/\">GoAdmio docs<\/a>, or see why it is a <a href=\"https:\/\/www.goadmio.com\/cpanel-alternative.html\">free cPanel alternative<\/a> at <a href=\"https:\/\/www.goadmio.com\/\">goadmio.com<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\/go\/mail creates and manages the email accounts of hosted domains. Depending on &#8211;action, it can: Most actions end by starting \/go\/vmail in the backgr&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-347","post","type-post","status-publish","format-standard","hentry","category-command-line"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\/go\/mail: mail from the Command Line - GoAdmio<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/goadmio.com\/blog\/go-mail-command\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\/go\/mail: mail from the Command Line - GoAdmio\" \/>\n<meta property=\"og:description\" content=\"\/go\/mail creates and manages the email accounts of hosted domains. Depending on --action, it can: Most actions end by starting \/go\/vmail in the backgr...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/goadmio.com\/blog\/go-mail-command\/\" \/>\n<meta property=\"og:site_name\" content=\"GoAdmio\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-28T22:46:25+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/go-mail-command\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/go-mail-command\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/#\\\/schema\\\/person\\\/2792dfae1ff31de5831fd5c9ede251ce\"},\"headline\":\"\\\/go\\\/mail: mail from the Command Line\",\"datePublished\":\"2026-11-28T22:46:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/go-mail-command\\\/\"},\"wordCount\":564,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/#organization\"},\"articleSection\":[\"Command Line\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/goadmio.com\\\/blog\\\/go-mail-command\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/go-mail-command\\\/\",\"url\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/go-mail-command\\\/\",\"name\":\"\\\/go\\\/mail: mail from the Command Line - GoAdmio\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/#website\"},\"datePublished\":\"2026-11-28T22:46:25+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/go-mail-command\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/goadmio.com\\\/blog\\\/go-mail-command\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/go-mail-command\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\\\/go\\\/mail: mail from the Command Line\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/\",\"name\":\"GoAdmio\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/#organization\",\"name\":\"GoAdmio\",\"url\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/goadmio-logo.png\",\"contentUrl\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/goadmio-logo.png\",\"width\":1200,\"height\":1200,\"caption\":\"GoAdmio\"},\"image\":{\"@id\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/#\\\/schema\\\/person\\\/2792dfae1ff31de5831fd5c9ede251ce\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d4bb3c53e2296776392ae05085feace43ad3be136196668f9d414210355127bd?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d4bb3c53e2296776392ae05085feace43ad3be136196668f9d414210355127bd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d4bb3c53e2296776392ae05085feace43ad3be136196668f9d414210355127bd?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\\\/\\\/goadmio.com\\\/blog\"],\"url\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\/go\/mail: mail from the Command Line - GoAdmio","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/goadmio.com\/blog\/go-mail-command\/","og_locale":"en_US","og_type":"article","og_title":"\/go\/mail: mail from the Command Line - GoAdmio","og_description":"\/go\/mail creates and manages the email accounts of hosted domains. Depending on --action, it can: Most actions end by starting \/go\/vmail in the backgr...","og_url":"https:\/\/goadmio.com\/blog\/go-mail-command\/","og_site_name":"GoAdmio","article_published_time":"2026-11-28T22:46:25+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/goadmio.com\/blog\/go-mail-command\/#article","isPartOf":{"@id":"https:\/\/goadmio.com\/blog\/go-mail-command\/"},"author":{"name":"admin","@id":"https:\/\/goadmio.com\/blog\/#\/schema\/person\/2792dfae1ff31de5831fd5c9ede251ce"},"headline":"\/go\/mail: mail from the Command Line","datePublished":"2026-11-28T22:46:25+00:00","mainEntityOfPage":{"@id":"https:\/\/goadmio.com\/blog\/go-mail-command\/"},"wordCount":564,"commentCount":0,"publisher":{"@id":"https:\/\/goadmio.com\/blog\/#organization"},"articleSection":["Command Line"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/goadmio.com\/blog\/go-mail-command\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/goadmio.com\/blog\/go-mail-command\/","url":"https:\/\/goadmio.com\/blog\/go-mail-command\/","name":"\/go\/mail: mail from the Command Line - GoAdmio","isPartOf":{"@id":"https:\/\/goadmio.com\/blog\/#website"},"datePublished":"2026-11-28T22:46:25+00:00","breadcrumb":{"@id":"https:\/\/goadmio.com\/blog\/go-mail-command\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/goadmio.com\/blog\/go-mail-command\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/goadmio.com\/blog\/go-mail-command\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/goadmio.com\/blog\/"},{"@type":"ListItem","position":2,"name":"\/go\/mail: mail from the Command Line"}]},{"@type":"WebSite","@id":"https:\/\/goadmio.com\/blog\/#website","url":"https:\/\/goadmio.com\/blog\/","name":"GoAdmio","description":"","publisher":{"@id":"https:\/\/goadmio.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/goadmio.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/goadmio.com\/blog\/#organization","name":"GoAdmio","url":"https:\/\/goadmio.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/goadmio.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/goadmio.com\/blog\/wp-content\/uploads\/2026\/11\/goadmio-logo.png","contentUrl":"https:\/\/goadmio.com\/blog\/wp-content\/uploads\/2026\/11\/goadmio-logo.png","width":1200,"height":1200,"caption":"GoAdmio"},"image":{"@id":"https:\/\/goadmio.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/goadmio.com\/blog\/#\/schema\/person\/2792dfae1ff31de5831fd5c9ede251ce","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/d4bb3c53e2296776392ae05085feace43ad3be136196668f9d414210355127bd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d4bb3c53e2296776392ae05085feace43ad3be136196668f9d414210355127bd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d4bb3c53e2296776392ae05085feace43ad3be136196668f9d414210355127bd?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/goadmio.com\/blog"],"url":"https:\/\/goadmio.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/goadmio.com\/blog\/wp-json\/wp\/v2\/posts\/347","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/goadmio.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/goadmio.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/goadmio.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/goadmio.com\/blog\/wp-json\/wp\/v2\/comments?post=347"}],"version-history":[{"count":0,"href":"https:\/\/goadmio.com\/blog\/wp-json\/wp\/v2\/posts\/347\/revisions"}],"wp:attachment":[{"href":"https:\/\/goadmio.com\/blog\/wp-json\/wp\/v2\/media?parent=347"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/goadmio.com\/blog\/wp-json\/wp\/v2\/categories?post=347"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/goadmio.com\/blog\/wp-json\/wp\/v2\/tags?post=347"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}