PHP

PHP send yahoo email using smtp

Previous ArticlePHP Creating watermark text
  • mechergui

    if we want just simple replay like “sended” or “error” because i dont want complete message. so what we can do?
    thanks

    • Hello,
      You can simply check if response exist or not as following.

      $response = sendEmail($FromEmail,$Subject,$Message,$FromName,$ToEmail);
      if(!empty($response)) {
      echo ‘Email is sent’;
      } else {
      echo ‘Email sent error’;
      }

      Hope this would be help.

      Thanks

  • omprakash

    This is the mail system at host gateway23.websitewelcome.com.

    I’m sorry to have to inform you that your message could not
    be delivered to one or more recipients. It’s attached below.

    For further assistance, please send mail to postmaster.

    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.

    The mail system

    : delivery temporarily suspended: lost connection
    with mta6.am0.yahoodns.net[63.250.192.45] while sending RCPT TO

    i found this error please help