<commit_before><?php

class FaleConoscoController extends Zend_Controller_Action{

    public function indexAction(){
        if($this->_request->isPost()){
            try{
                $tr = new Zend_Mail_Transport_Sendmail('<EMAIL>');
                Zend_Mail::setDefaultTransport($tr);

                $mail = new Zend_Mail();

                $mail->setBodyText('PLACEHOLDER.');
                $mail->setFrom('<EMAIL>', 'Placeholder');
                $mail->addTo('<EMAIL>', 'Placeholder');

                $mail->setSubject('Placeholder Subject');

                $mail->send();

                $this->view->success = true;
            } catch(Exception $e){
                print_r($e->getMessage());exit;
            }
        }
    }
}<commit_msg>envio de email fale conosco<commit_after><?php

class FaleConoscoController extends Zend_Controller_Action{

    public function indexAction(){
        if($this->_request->isPost()){
            try{
                $config = array('auth' => 'login',
                    'username' => '<EMAIL>',
                    'password' => '<PASSWORD>',
                    'port' => '587',
                    'ssl' => 'tls'
                );

                $transport = new Zend_Mail_Transport_Smtp('smtp.gmail.com', $config);

                Zend_Mail::setDefaultTransport($transport);

                $mail = new Zend_Mail();

                $mail->setBodyText('PLACEHOLDER.');
                $mail->setFrom('<EMAIL>', 'Placeholder');
                $mail->addTo('<EMAIL>', 'Placeholder');

                $mail->setSubject('Placeholder Subject');

                $mail->send();

                $this->view->success = true;
            } catch(Exception $e){
                print_r($e->getMessage());exit;
            }
        }
    }
}
{'fraction_non_alphanumeric': 0.15091210613598674, 'fraction_numerical': 0.001658374792703151, 'mean_word_length': 1.6231884057971016, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 35, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3742341', 'n_tokens_mistral': 513, 'n_tokens_neox': 474, 'n_words': 76}