This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
Form Email not being sent
Started 17 years ago by bvolhein | 8 posts |
-
I checked with my host to verify they do not block SMTP, and they don't.
I have filled out the relevant email info in config.php.
I have added the correct email in the notfy option the form manager...
What am I missing? If I can figure this out, I would buy MachForm for all of my sites/clients. I love it.
Thanks in advancePosted 17 years ago # -
Hello bvolhein,
Hmm.. that's weird. Lets test your server mail functionality. To test it, create a .php file and put this code:
<?php mail('your_email@example.com', 'Test Subject', 'Test Message'); echo "Mail sent! Please check it."; ?>
Change the email address to the same addres you used for MachForm and run the script.
If you didn't get any email, there might be some problem with your mail server.Is your site using any external SMTP host?
If you prefer, I could check directly to your server. Simply let me know your FTP login info.
Send them to customer.service [at] appnitro.com
MachForm Founder
Posted 17 years ago # -
Thank you for the fast reply. I did a test before adding your test, and it worked! The only thing I did different was I put a different email in the email field on the form. Is there validation that doesn't allow an email address to be the same in the email field as the one in the config file?
Either wy it's working like a champ.
Thanks again for your assistance.Posted 17 years ago # -
Ahh..so it worked okay now?
MachForm doesn't have any restriction regarding the email address sender.
However, your mail server might not allow you to do that.Some mail server doesn't allow sending email to yourself using the same email address.
MachForm Founder
Posted 17 years ago # -
<?php
mail('your_email@example.com', 'Test Subject', 'Test Message');
echo "Mail sent! Please check it.";
?>Above code shows mail sent ! But no email is received , not even in spam folder. I tried it with different emails but no luck yet.
In past I've successfully used phpmailer for my self made forms but I don't know if it is possible to configure machforms with it.If not please let me know , how can I make it work.
Thanks
Posted 16 years ago # -
MachForm uses phpmailer indeed.
If the above test code doesn't work, your host might require you to use SMTP server.
What is you hosting company? I suggest to contact them regarding their SMTP setting.When you have your SMTP detail, put them into your config.php file.
MachForm Founder
Posted 16 years ago # -
Hi Yuniar,
I've configured phpmailer with gmail smtp for my self-made forms. I've provided phpmailer with my gmail username & password to send emails. Can we do the same in machforms as well ?I have a VPS account with debian installed on it. Not installed any SMTP server on my VPS as phpmailer php class is configured well to send emails via gmail smtp and the emails never lands in a junk folder.
It would be great if we can configure machforms as well to use gmail smtp server.
Please help.
Thanks
Posted 16 years ago # -
Yes, it is possible to use Gmail server. However, some file need to be updated to use Gmail TLS connection.
Please submit a request here:
http://www.appnitro.com/support/index.php?pg=requestI'll reply with the files and instruction.
Or just send email to: customer.service [at] appnitro.com
MachForm Founder
Posted 16 years ago #
Reply
You must log in to post.