Need Help with Contact Form with SMTP Authentication

Discussion in 'PHP' started by amit.lakecrest, May 5, 2009.

  1. #1
    Hello DP Members

    I need help regarding contact form.
    I need php code to send email through contact form.

    My web administrator is not allowing me to send email without authentication.
    I need PHP code to send email with SMTP Authentication.

    I am not familiar with SMTP at all.

    Thanks for your Help!
     
    amit.lakecrest, May 5, 2009 IP
  2. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #2
    Do you have ssh access to the server, or are you able to install PEAR modules?
     
    jestep, May 5, 2009 IP
  3. amit.lakecrest

    amit.lakecrest Peon

    Messages:
    24
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I think I have ability to install Pear Modules.
     
    amit.lakecrest, May 5, 2009 IP
  4. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #4
    jestep, May 5, 2009 IP
  5. smb

    smb Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I assume you can't simply call the mail function from your PHP like this?

    mail($to, $subject, $body)
     
    smb, May 5, 2009 IP