Appnitro Software Forums » MachForm

emails

(21 posts)

  1. adi
    Member

    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 4 months ago #
  2. 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.

    Posted 4 months ago #
  3. adi
    Member

    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 4 months ago #
  4. adi
    Member

    i know my smtp now what information do i have to change???

    Posted 4 months ago #
  5. 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');
    Posted 4 months ago #
  6. adi
    Member

    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 4 months ago #
  7. Yes, change the host to use your host.
    Also, change this line:

    define('SMTP_AUTH',false);

    to become:

    define('SMTP_AUTH',true);
    Posted 4 months ago #
  8. adi
    Member

    so instead of localhost put it mail.*******.com

    and what do i put instead of the number in port???

    i changed that line

    Posted 4 months ago #
  9. 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.

    Posted 4 months ago #
  10. adi
    Member

    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 4 months ago #
  11. 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?

    Posted 4 months ago #
  12. adi
    Member

    no all new server

    Posted 4 months ago #
  13. 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=request

    Posted 4 months ago #
  14. adi
    Member

    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 4 months ago #
  15. 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.

    Posted 4 months ago #
  16. adi
    Member

    that worked i made a new page and the email arrived

    Posted 4 months ago #
  17. adi
    Member

    does that mean that i dont have to use smtp that the error is somewhere else??

    Posted 4 months ago #
  18. 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?

    Posted 4 months ago #
  19. adi
    Member

    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 4 months ago #
  20. adi
    Member

    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 42

    Posted 4 months ago #

RSS feed for this topic

Reply »

You must log in to post.