Within a custom module I am trying to send the below so that an email is sent but I get the error <i>The submitted from address () is not valid.</i>  This <i>from </i>email address does exist so why is it giving me this error?<br>
<br>Thanks,<br><br>John<br><br>$message = array(<br>  &#39;to&#39; =&gt; &#39;<a href="mailto:username1@domain123.com">username1@domain123.com</a>&#39;,<br>  &#39;subject&#39; =&gt; t(&#39;Example subject&#39;),<br>  &#39;body&#39; =&gt; t(&#39;Example body&#39;),<br>
  &#39;headers&#39; =&gt; array(&#39;From&#39; =&gt; &#39;<a href="mailto:support@domain123.com">support@domain123.com</a>&#39;),<br>);<br>drupal_mail_send($message);<br><br clear="all"><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup">
</div><style type="text/css">#avg_ls_inline_popup {  position:absolute;  z-index:9999;  padding: 0px 0px;  margin-left: 0px;  margin-top: 0px;  width: 240px;  overflow: hidden;  word-wrap: break-word;  color: black;  font-size: 10px;  text-align: left;  line-height: 13px;}</style><br>
-- <br>John J. Mitchell<br>