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
emails
Started 16 years ago by adi | 21 posts |
-
what might be the problem if my emails are not coming through to my inbox? I can see that there is a new entry online in the admin but the emails never arive in my inbox and this is the new version?
thanks
Posted 16 years ago # -
Your host might require you to use SMTP to be able sending email.
What is your hosting company?When you have your SMTP details, you can put them into your config.php file.
MachForm Founder
Posted 16 years ago # -
do i have to contact my hosting company to ask them that or is there a way to find that out on my own?
thank you
Posted 16 years ago # -
i know my smtp now what information do i have to change???
Posted 16 years ago # -
change this line:
define('USE_SMTP',false);
to become:
define('USE_SMTP',true);
then adjust the settings below that line accordingly:
define('SMTP_HOST','localhost'); define('SMTP_PORT',25); define('SMTP_AUTH',false); //if your SMTP require authentification, set this to 'true' define('SMTP_USERNAME','YOUR_SMTP_USERNAME'); define('SMTP_PASSWORD','YOUR_SMTP_PASSWORD');
MachForm Founder
Posted 16 years ago # -
this is what my host send me is this any help to me??
POP3 Host Address : mail.********.com
SMTP Host Address: mail.********.com
Username: ********
Password: ********i changed the username and password and tried to resend the email but still no luck
do i have to change HOST and PORT to mail.******.com ??
Posted 16 years ago # -
Yes, change the host to use your host.
Also, change this line:define('SMTP_AUTH',false);
to become:
define('SMTP_AUTH',true);
MachForm Founder
Posted 16 years ago # -
so instead of localhost put it mail.*******.com
and what do i put instead of the number in port???
i changed that line
Posted 16 years ago # -
The default port number is 25, most likely you won't need to change this one.
However, if your host specify another port, simply adjust it.MachForm Founder
Posted 16 years ago # -
this i what i did and it doesnt work i get nothing
define('USE_SMTP',true); //set this to 'true' to use SMTP
define('SMTP_HOST','mail.********.com');
define('SMTP_PORT',25);
define('SMTP_AUTH',true); //if your SMTP require authentification, set this to 'true'
define('SMTP_USERNAME','********');
define('SMTP_PASSWORD','********');Posted 16 years ago # -
That's odd.
Are you installing MachForm on a new server?I notice that you've been using MachForm since version 1.2
Is it the same host as before? Is version 1.2 email working fine?MachForm Founder
Posted 16 years ago # -
no all new server
Posted 16 years ago # -
Hmm.. can I have temporary FTP login to your machform folder?
I'll investigate it.Send me the details through this form:
http://www.appnitro.com/support/index.php?pg=requestMachForm Founder
Posted 16 years ago # -
sorry boss doesn't allow access to anyone so i will try and figure it out if all fails at least i get them online in the admin
thanks for the help anyways
Posted 16 years ago # -
Ok, no problem.
Perhaps you can try to change your email address and make sure you have all the correct setting on your "Emails" page.
Or perhaps try creating a simple test email script.
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.MachForm Founder
Posted 16 years ago # -
that worked i made a new page and the email arrived
Posted 16 years ago # -
does that mean that i dont have to use smtp that the error is somewhere else??
Posted 16 years ago # -
I see. So your host doesn't need SMTP then.
change this line:
define('USE_SMTP',true);
back to:
define('USE_SMTP',false);
Hmm.. is it possible for me to login to your MachForm admin panel instead of FTP? No?
MachForm Founder
Posted 16 years ago # -
do the forms work just like the code you send me or is there a big difference??
<?php
mail('your_email@example.com', 'Test Subject', 'Test Message');
echo "Mail sent! Please check it.";
?>is there maybe something that i didnt fill out for it to not show?
Posted 16 years ago # -
New error that i get
Warning: fsockopen() [function.fsockopen]: unable to connect to mail.mahalusa.com:25 (Connection timed out) in /home/*****/public_html/*****/store/machform/lib/class.smtp.php on line 105
Error sending email: SMTP Error: Could not connect to SMTP host.
Warning: Cannot modify header information - headers already sent by (output started at /home/*****/public_html/*****/store/machform/lib/class.smtp.php:105) in /home/*****/public_html/*****/store/machform/embed.php on line 42Posted 16 years ago #
Reply »
You must log in to post.