SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: Sending EMAIL

  1. #1
    SitePoint Member
    Join Date
    May 2014
    0 Post(s)
    0 Thread(s)

    Sending EMAIL

    Hi All,

    I tried to make a PHP script which used to send the mails to all the clients for the i thought first to make a dummy scirpt, But its fail during sending the mail. Below is a error message

    Warning: mail(): SMTP server response: 530 5.7.1 Client was not authenticated in C:\inetpub\wwwroot\dummy\email\email_script.php on line 10

    I don't know what authentication its need. Please help me to overcome from this problem.

    Below is my php script

    PHP Code:




    "email has been sent : </br> $email</br>$subject</br>$message</br>";

    Is this warning appear because of wrong SMTP server address ?

  2. #2
    SitePoint Evangelist
    Join Date
    Aug 2006
    Nantwich, Cheshire
    2 Post(s)
    0 Thread(s)
    No, this is saying that your SMTP server has rejected your attempt to send an email because the client (i.e. your software) is not authenticated properly. It might be that your SMTP server requires more header information, or maybe it's configured to require a sign-in. Have a search back through this forum, there was a very similar question last week on mail headers. Is it your own SMTP server, or one at your ISP? If the latter, can they tell you what authentication is required? - my homage to a car from the 1970s


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts