Contact form not workin

Support Forums Cian – HTML Template Contact form not workin

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3894
    Nejc
    Participant

    I cant make contact form to work i have set all the necessery things in php/config.php but no luck.

    #3908
    CreaboxThemes
    Keymaster

    Hi Nejc,

    can you send me your config.php file whithout the passwords?

    Regards

    #3911
    Nejc
    Participant

    <?
    //define the receiver of the email

    define(‘TO_NAME’,’Prehrana’); //put your name
    define(‘TO_EMAIL’,’support@bloom.si’); //put your email

    define(‘TEMPLATE_PATH’,’template/default.php’);

    define(‘SMTP_HOST’,’smtp.bloom.si’); //for example gmail: smtp.gmail.com
    define(‘SMTP_USERNAME’,’support@bloom.si’); //put your email
    define(‘SMTP_PASSWORD’,”); //put your password
    define(‘SUBJECT’,’Sporocilo z spletne strani Prehrane’); //change if you want the subject

    // Messages
    define(‘MSG_INVALID_NAME’,’Manjka ime.’);
    define(‘MSG_INVALID_EMAIL’,’Manjka email ali pa je nepravilen.’);
    define(‘MSG_INVALID_MESSAGE’,’Manjka vsebina.’);
    define(‘MSG_SEND_ERROR’,’Oprostite, napaka.’);

    ?>

    #3918
    CreaboxThemes
    Keymaster

    Hi,

    The configuration seems to be ok.
    It would be a good idea to review if the folder ‘phpMailer/phpmailer.php’ matches with the code in the file ‘contact.php’, in the line 4.

    I have made tests with your contact form, and when I filled all the fields, I got the next error:
    Invalid address: TO_EMAILYou must provide at least one recipient email address.

    This problem is about the variable ‘TO_EMAIL’ in the file config.php
    Regards

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.