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
From email is server/sql user
Started 15 years ago by ctyankee | 9 posts |
-
I am hosting on Bluehost and when I get emails form the forms (both to me and to the person filling out the form) the 'from' address is: sqlusername@box###.bluehost.com
I've changed my config file settings to be the email and SMTP info needed, but it seems to send via the server sendmail. What am I missing?
Posted 15 years ago # -
Have you set this value to "true"
define('USE_SMTP',true); //set this to 'true' to use SMTP
MachForm Support
Posted 15 years ago # -
yes, I did.
Posted 15 years ago # -
Umm... It should already use "SMTP" to send the mail. Actually you can change the "mail from" information by editing "config.php" file. Try to change these lines :
/** Default notification email settings **/
define('NOTIFICATION_MAIL_FROM',''); //default is 'no-reply@yourdomain.com'
define('NOTIFICATION_MAIL_FROM_NAME',''); //default is 'MachForm'
define('NOTIFICATION_MAIL_SUBJECT',''); //default is '{form_name} [#{entry_no}]'MachForm Support
Posted 15 years ago # -
I've made all those changes and now it sort of works (last time I edited the config file in an old folder that was on my test page...oops).
Now I get errors when it tries to connect to the server: If I use port 25 it says 'connection refused'. If I use port 26 (like in my mail program) I get 'timed out' errors. Seems like the server here has some setup issues that don't like Mach form?
Posted 15 years ago # -
i just tried using an email account from the same host (different account) and it works fine. The site is hosted on Bluehost. If I set the email to a bluehost email account it works. If it is a non bluehost it gives me the errors.
Posted 15 years ago # -
Hmm.. that's weird. We have many users using BlueHost and usually it worked just fine there.
Can I test your MachForm so I can see it? Also, please send us your config.php file so we can check for any possible errors.
Please mail to: customer.service [at] appnitro.com
MachForm Founder
Posted 15 years ago # -
I am experiencing the same problem with the emails coming in at sqlusername@box###.bh.com. I've made all the configuration changes in the config.php file and still receive the emails with the server email address. I will send a link to a generic form that I have up via email
Posted 12 years ago # -
When using bluehost and many other shared servers the From address must exist as a mailbox or an email alias (forwarder) or you will see the problem you are experiencing. For example, if the from address is no-reply@yourdomain.com then no-reply@yourdomain.com must exist on your server.
Posted 12 years ago #
Reply
You must log in to post.