This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 4
EMail Entry
Started 10 years ago by cabercrombie | 3 posts |
-
I am trying to email a specific entry and although it allows me to add the email address and it says email has been successfully sent it never comes through to the specified address?
I had issues with SMTP server being used on my host so ive added the various lines to my config.php file (which works as ive tested it) but it doesnt make any difference when trying to email an entry?
define('USE_SMTP',true);
define('SMTP_HOST','mail.mywebsite.com');
define('SMTP_PORT',25);Any ideas?
Posted 10 years ago # -
What version are you using? I am using version 4.2 and I don't seem to have those defines in my config.php. I set my server up via the program settings inside MachForm.
Regards,
Saghalie
http://www.kcmhosting.comPosted 10 years ago # -
@cabercrombie
As @saghalie says, the SMTP settings used to be in config.php on older versions but since latter 3.x versions the set up of SMTP server is in the application settings.
Documentation here:
http://www.appnitro.com/doc-settings#using-smtpIn the Settings page, click the check box in the blue section "Use SMTP Server to Send Emails"
Enter your details listed:
hostname
(SMTP) outgoing server username
(SMTP) outgoing server password
Use TSL/SSL (optional)
Port Number (default 25, but could be something else, check with your email provider).(the above info is obtained from your ISP / hosting provider or email provider (like Gmail etc). However you might need to use an email address for the "from" address in the Notifications settings that matches your domain name e.g. you@yourdomain.com (where your website is www.yourdomain.com).
See the demo for example:
http://www.appnitro.com/demo/main_settings.php
Can you try using the PHP Mail function rather than SMTP?
In your attempt to add those details to config.php, I notice the absence of lines for your SMTP credentials - username/password. You might have left them out intentionally for this forum, but in your actual file, are they included?
Posted 10 years ago #
Reply
You must log in to post.