Error at sending Email confirmation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xyrhou
    New Member
    • Mar 2010
    • 14

    Error at sending Email confirmation

    When i uploaded my site i got these error at registration. When a user register he/she will receive a confirmation email with the link to activate his/her account.
    But i got this error when i click register:


    Warning: mail() [function.mail]: SMTP server response: 530 SMTP authentication is required. in E:\Inetpub\vhos ts\sneakersworl d.org\httpdocs\ Sneakers\includ e\mailer.php on line 40

    the line 40 of my mailer.php is
    Code:
    return mail($email,$subject,$body,$from);
    Warning: Cannot modify header information - headers already sent by (output started at E:\Inetpub\vhos ts\sneakersworl d.org\httpdocs\ Sneakers\includ e\mailer.php:40 ) in E:\Inetpub\vhos ts\sneakersworl d.org\httpdocs\ Sneakers\proces s.php on line 105

    and my process.php line 105 is

    Code:
      /* Registration Successful */
          if($retval == 0){
             $_SESSION['reguname'] = $_POST['user'];
             $_SESSION['regsuccess'] = true;
             header("Location: ".$session->referrer); // the 105 line
    im a newbie in php and its my first time in uploading a website online..

    please help.. thanks..

    im using jp77 log in system from jp77.org..
  • philipwayne
    New Member
    • Mar 2010
    • 50

    #2
    It means you have to login to the mail server you are trying to use.

    Comment

    • xyrhou
      New Member
      • Mar 2010
      • 14

      #3
      Can you please specify what is a mail server? T_T im a total newbie at uploading sites online php etc..

      I contacted the host they said i should use SMTP Authentication but did not tell me how to..

      There is a webmail option at the mail menu in their plesk system but im not sure about it..

      here is the site

      sneakersworld.o rg

      thanks

      Comment

      • xyrhou
        New Member
        • Mar 2010
        • 14

        #4
        i downloaded a PHPMailer_v5.1 but where do i need to extract it at my online host?

        Comment

        • Dormilich
          Recognized Expert Expert
          • Aug 2008
          • 8694

          #5
          any directory you like.

          Comment

          Working...