Jump to content

lapw123

Members
  • Posts

    45
  • Joined

  • Last visited

Posts posted by lapw123

  1. Sorry for that, that i really mean is the show who in have booked as atc in an spesefic fir, found xml file but how can i take the info into boxses so under atc box it will say ENBR_TWR name book johannsen and date 21.03.2017 1300z or something like that 

  2. 1 hour ago, Parkho said:

    Did you add the config codes from app.config .php and use your server email? If yes try removing the ADDED config codes from your local.config.php and use the server email. I'm assuming you're not on a free host btw.

    Yes i did and the server is from digitalocan 

  3. okey i found out it is somthing here 

    $return_path_email = Config::Get('EMAIL_RETURN_PATH');
             if(Config::Get('EMAIL_SMTP_USE_AUTH') == true)
             if($return_path_email == '') {
                $return_path_email = $fromemail;
            {
             $mail->SMTPAuth = Config::Get('EMAIL_SMTP_USE_AUTH'); // <- this line needs to be added
             $mail->Username = Config::Get('EMAIL_SMTP_USER');
             $mail->Password = Config::Get('EMAIL_SMTP_PASS');
             $mail->SMTPSecure = Config::Get('EMAIL_SMTP_SECURE');

            }

    Vangelis said a while ago this 

    In order to send authenticated SMTP email over TLS, you need the following in your local.config.php (bug fix!):

    Config::Set('EMAIL_USE_SMTP', true);

    // Add multiple SMTP servers by separating them with ;

    Config::Set('EMAIL_SMTP_SERVERS', 'smtp.example.com');

    Config::Set('EMAIL_SMTP_PORT', '25'); // or 587

    Config::Set('EMAIL_SMTP_USE_AUTH', true);

    Config::Set('EMAIL_SMTP_USER', 'yourname@example.com');

    Config::Set('EMAIL_SMTP_PASS', 'p4ssword');

    Config::Set('EMAIL_SMTP_SECURE', 'tls');

    Then, open up /core/classes/Util.class.php, scroll to line 257 and add in that code block:

    if(Config::Get('EMAIL_SMTP_USE_AUTH') == true)

    {

    $mail->SMTPAuth = Config::Get('EMAIL_SMTP_USE_AUTH'); // <- this line needs to be added

    $mail->Username = Config::Get('EMAIL_SMTP_USER');

    $mail->Password = Config::Get('EMAIL_SMTP_PASS');

    $mail->SMTPSecure = Config::Get('EMAIL_SMTP_SECURE');

    }

    I already tried this now first i didnt get error msg but since it did go to fast before the mail was sendt i begin to think and yeah it was wrong i posted in the code again now i got error msg on line 313 and 316 so but since it is already somthing on line 257 im abit worried about is gonna move the info from that line and down are i gonna delete everything on that line and under that have something to do with line 257 or im gonna place abit under the line 257 and somthing that have somthing to do with line 257 thank you :) and so if someone could say how and where i gonna put it would be great since not so much php experince 

  4. 20 minutes ago, ProAvia said:

    I don't have an answer to your issue, but.......

    What version of phpVMS are you using?

    You may wish to edit your post above to remove the email address and password (unless those are only examples).

     

    im using simpilot 5.5.2

  5. hello sorry for bother you with this agian but i just installed phpvms and i dont work for me ... i tried with php mailer that dint work but i do known it is working since when i forgot to change the mail from mysite@blba.com i got a notification about somone tried to log in and that was my server :P well here my local config and uti config :) 

    local.config

    # Email Settings
    Config::Set('EMAIL_FROM_NAME', 'samuel');
    Config::Set('EMAIL_FROM_ADDRESS', 'xxhdgamersxx7@gmail.com');

    Config::Set('EMAIL_USE_SMTP', true);
    // Add multiple SMTP servers by separating them with ;
    Config::Set('EMAIL_SMTP_SERVERS', 'smtp.gmail.com');
    Config::Set('EMAIL_SMTP_PORT', '465'); // or 587
    Config::Set('EMAIL_SMTP_USE_AUTH', true);
    Config::Set('EMAIL_SMTP_USER', 'xxhdgamersxx7@gmail.com);
    Config::Set('EMAIL_SMTP_PASS', 'password');
    Config::Set('EMAIL_SMTP_SECURE', 'ssl');

    my util.class

            if($fromname == '') {

                $fromname = Config::Get('EMAIL_FROM_NAME');

                if($fromname == '') {
                    $fromname = SITE_NAME;
                }
            }

            $return_path_email = Config::Get('EMAIL_RETURN_PATH');
            if(Config::Get('EMAIL_SMTP_USE_AUTH') == true)
    {
    $mail->SMTPAuth = Config::Get('EMAIL_SMTP_USE_AUTH'); // <- this line needs to be added
    $mail->Username = Config::Get('EMAIL_SMTP_USER');
    $mail->Password = Config::Get('EMAIL_SMTP_PASS');
    $mail->SMTPSecure = Config::Get('EMAIL_SMTP_SECURE');

    }
     

    my app.config 

    # Email Settings
    Config::Set('EMAIL_FROM_NAME', 'samuel');
    Config::Set('EMAIL_FROM_ADDRESS', 'xxhdgamersxx7@gmail.com');

    Config::Set('EMAIL_USE_SMTP', ture);
    # Add multiple SMTP servers by separating them with ;
    Config::Set('EMAIL_SMTP_SERVERS', 'smtp.gmail.com');
    Config::Set('EMAIL_SMTP_PORT', '465');
    Config::Set('EMAIL_SMTP_USE_AUTH', true);
    Config::Set('EMAIL_SMTP_SECURE', 'ssl'); # must be "ssl" for Google Apps
    Config::Set('EMAIL_SMTP_USER', 'xxhdgamersxx7@gmail.com');
    Config::Set('EMAIL_SMTP_PASS', 'password')

    i gonna pre thank you for the help :)

×
×
  • Create New...