Switch to English?
Yes
Переключитись на українську?
Так
Переключиться на русскую?
Да
Przełączyć się na polską?
Tak
Post your project for free and start receiving proposals from freelancers within minutes after publication!

Поправить скрипт отправки сообщений с сайта

PHP

  1. 436    49  6   2
    1 day3 USD

    Здравствуйте.
    Сделаю все качественно и быстро. Большой опыт разработки сайтов.Обращайтесь!

  2. 10671    591  6   10
    1 day3 USD

    Готов взяться за работу, пишите, сделаю все качественно, опыт работы уже больше 8ми лет!

  3. Roman A. Hellper
    2652    161  0
    1 day9 USD

    Здравствуйте! Могу сделать прямо сейчас) Готов приступить сейчас

  4. Another 3 proposals concealed
  • Profile deleted
    29 September 2018, 12:10 |
    ip хостингу баниться крупними серверами.


    спробуйте відправити на якусь звичайну пошту, не gmail, не mail.ru,  і т д

  • Andrey B.
    29 September 2018, 12:18 |

    В логах есть ошибки? Может проблемы с подключением автолоадера phpmailer

  • Profile deleted
    29 September 2018, 12:20 |

    В phpmailer дебаг включите и посмотрите причину.

  • Profile blocked
    29 September 2018, 15:27 |

    Добрый день попробуйте так


    <?php

    $to = "емейлкудаслать"; 

    ##########################################

    require 'PHPMailer/PHPMailerAutoload.php';

    $_POST['email'] = !isset($_POST['email']) ? "емейлоткого" : $_POST['email'];

    $mail = new PHPMailer;


    $mail->isSMTP();

    $mail->Host = 'smtp.gmail.com';              

    $mail->SMTPAuth = true;                               

    $mail->Username = 'ваш_адрес@gmail.com';                 

    $mail->Password = 'пароль';                           

    $mail->SMTPSecure = 'tls';                            

    $mail->Port = 587;  


    $mail->addAddress($to);


    $mail->addReplyTo($_POST['email'], $_POST['name']);


    $mail->setFrom($_POST['email'], $_POST['name']);


    $mail->CharSet = 'UTF-8';


    $mail->isHTML(true);


    $body = "";


    $body .= "От: ".$_POST['name']."<br>";


    $body .= "Телефон: ".$_POST['phone']."<br>";


    if ($_POST['check'] != "callback") {


        $body .= "Ссылка на конкурентов: <a href='".$_POST['link']."'>".$_POST['link']."</a><br>";


        $body .= "Страница: <a href='".$_SERVER['HTTP_REFERER']."'>".$_SERVER['HTTP_REFERER']."</a>";


        $mail->Subject = 'Клиент нашел дешевле #'.rand(10000,99999);


    } else{


        $mail->Subject = 'Заказ обратного звонка #'.rand(10000,99999);


    }


    $mail->Body = $body;




    if(!$mail->send()) {


        echo 'error';


    } else {


        echo 'good';


    }


    #print_r($mail);


    ?>

  • Mihail Lopatin SeoRank
    29 September 2018, 15:31 |

    так пробовали, спасибо, уже поправили, надо было закомментировать одну строку

Current freelance projects in the category PHP

Developer for CMS website project on Drupal 7 + PHP/MySQL.

We are looking for a developer to assist with the setup of a CMS site on Drupal 7 + PHP/MySQL. Task:1. Create product cards for the entire range of products (currently, not all products on the site have product cards with descriptions and characteristics).2. Add correct…

Content Management SystemsPHP ∙ 1 day 21 hours back ∙ 39 proposals

Looking for a Bitrix24 specialist / CRM integrator to set up automation.

Our company works with CRM Bitrix24. We need a specialist who can set up automatic addition of phone numbers to leads/orders in two formats. Automation must be correctly configured for two countries: the Republic of Moldova and Romania. Task: When creating a lead or order in…

PHPWeb Programming ∙ 2 days 20 hours back ∙ 24 proposals

Website optimization

Optimization of the website jdgreta.co.uk on Shopify. SEO audit attached to the project. Main tasks - - Fix all meta data - Complete the technical specifications for the programmer (since this project combines tasks for both the programmer and SEO, if you are not a company -…

HTML & CSSPHP ∙ 3 days 16 hours back ∙ 32 proposals

Horoshop Specialist

Need a specialist who can correctly set up the product Feed. Problem: Currently, over 13,000 products are being uploaded with the same type value (e.g., "everything for manicure and pedicure"). Because of this, it is impossible to segment products in Google Ads and set different…

PHPWebsite Maintenance ∙ 4 days 18 hours back ∙ 21 proposals

Make sure that order emails from the store do not go to spam.

Currently, there is a store on OpenCart, and order emails are landing in spam. We need to ensure they go to Inbox (ukr.net gmail) and check it. The hosting provider wrote: Poor email delivery may be related to a low sender reputation - IP or domain. In this case, we can advise…

PHPWeb Programming ∙ 5 days 19 hours back ∙ 47 proposals

Client
Mihail Lopatin SeoRank
Ukraine Kyiv  4  0
Project published
7 years back
108 views
Tags
  • Junior PHP developer