Problem with Contact Form Email Script

Discussion in 'PHP' started by amit.lakecrest, Apr 7, 2009.

  1. #1
    DP Members,

    I am facing issue with contact forms in my websites.
    I use php script to send email to a particular email address without local mail server authentication. ( Normally I set up email accounts using google apps)
    My webspace provider has stopped mail from nobody user from all Linux Servers because of mass mailing complaint from DC.

    They advised me to use a script by which i can authenticate on mail server.

    Can any body provide me script to run the feedback form.

    Thanks
     
    amit.lakecrest, Apr 7, 2009 IP
  2. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #2
    Try using this for sending the email. http://email.about.com/od/emailprogrammingtips/qt/et073006.htm

    You will need to install PEAR MAIL for this to work.

    Setup an email account/user on your domain, and use the credentials for it to send mail from your server. Something like server@ or noreply@ is usually a good bet unless you want to allow replies directly to the email, in which case info@ or something similar is perfect.
     
    jestep, Apr 7, 2009 IP
  3. codealot

    codealot Banned

    Messages:
    544
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Who is your website hosted with?
     
    codealot, Apr 7, 2009 IP