Quantcast
Channel: Active questions tagged email - Stack Overflow
Viewing all articles
Browse latest Browse all 29762

Modx can't send message with FormIt

$
0
0

I try to send a message from my contact form, but I don't receive any message. I use QuickEmail to test it,and I receive a message on my mailtrap account. I guess the problem is from form. (Right now I am local)

//Chunk
[[!FormIt?
   &hooks=`spam,email,redirect`
   &emailTpl=`MyEmailChunk`
   &emailTo=`test@gmail.com`
   &redirectTo=`123`
]]

<form action="[[~[[*id]]]]" method="post" class="form">
        <input class="mb-4" type="text" placeholder="NAME" id="name" />
        <input class="mb-4" type="text" placeholder="EMAIL" id="email" />
        <textarea class="mb-4" type="text" placeholder="MESSAGE" id="message"></textarea>   
        <button class="btn btn-success">SUBMIT</button>  
</form>

//Second chunk
Name: [[+input-name]] <br/>
Email: [[+input-email]] <br/>
Message: <br /> 
[[+input-textare]]
<br/>
Agreement check: [[+input-checkbox]]

Viewing all articles
Browse latest Browse all 29762

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>