www.webdeveloper.com
Results 1 to 2 of 2

Thread: Auto e-mails

  1. #1
    Join Date
    Aug 2010
    Posts
    9

    Post Auto e-mails

    hi,
    I am using php answers script (yahoo answers clone) but it lakes features
    I want to add function"auto email when new answers is submitted" BY editing the script php files.*
    I found the files to edit. But how to do that?
    Please help

  2. #2
    Join Date
    Jul 2009
    Location
    Falls Church, Va.
    Posts
    780
    In the existing PHP code find the function or source that deals with a "new user being submitted", maybe it updates a database or something with the user name/password and profile. Follow the source until that process is completed, usually at the end of a function. In there add in the PHP code to send the email, i.e. it could be another function you write or an included file, whatever. You basically need to trace your code to see where to insert the mail stuff.

    Here is information on how to send email in PHP:

    http://email.about.com/od/emailprogr...PHP_Script.htm

    -jim
    Last edited by SrWebDeveloper; 09-09-2010 at 01:55 PM. Reason: long link, jeeeze. fixed.
    Jim, Sr. Web Developer
    You know who you real friends are when you ask them to move your furniture or paint.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles