Hello All,
I am about to pull my hair out, I need some advice.
Problem #1: Ok long story short to send email thru a Godaddy website the FROM has to be an email on taht domain. Understand this, worked around it in the past. If you don’t do it you get: <<< 553 sorry, your mail was administratively denied. (#5.7.1)
501 5.6.0 Data format error . LIKE I said no problem understand this issue.
Problem #2: All I need formit to do is make the FROM be
[email protected] . I am using MODXCMS Revolution 2. So
A. I have the emailsender field set right (under System-> System Settings)
B. I set the EMAILFROM in the hook to the right value(see below)
NO MATTER what I do it is still making the FROM be the email the user types in the form. ANY help would be wonderful!! Thanks-> Joel Logan
***************CODE******************************
[[!FormIt?
&hooks=`spam,email,redirect`
&emailTpl=`ContactFormReport`
&emailFrom=`
[email protected]`
&emailTo=`
[email protected]`
&emailUseFieldForSubject=`1`
&redirectTo=`15`
&submitVar=`submitContact`
]]
<p class="error">[[+fi.error.error_message]]</p>
<form id="EmailForm" action="[[~[[*id]]]]" method="post">
<input name="nospam:blank" type="hidden" />
<fieldset>
<h3>Contact Form</h3>
<label for="cfName">Your name:
<span class="invalidValue">[[+fi.error.name]]</span>
<input id="cfName" class="text" name="name:required" type="text" value="[[+fi.name]]" /> </label>
<label for="cfEmail">Your Email Address:
<span class="invalidValue">[[+fi.error.email]]</span>
<input id="cfEmail" class="text" name="email:required:email" type="text" value="[[+fi.email]]" /> </label>
<label for="cfRegarding">Regarding:
<span class="invalidValue">[[+fi.error.regarding]]</span>
</label>
<select id="cfRegarding" name="subject">
<option value="General Inquiries">General Inquiries</option>
<option value="Press">Press or Interview Request</option>
<option value="Partnering">Partnering Opportunities</option>
</select>
<label for="cfMessage">Message:
<span class="invalidValue">[[+fi.error.message]]</span>
<textarea id="cfMessage" cols="20" rows="4" name="message:required:stripTags">[[+fi.message]]</textarea>
</label>
<label> </label><input id="cfContact" class="button" name="submitContact" type="submit" value="Send This Message" />
</fieldset>
</form>