+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: having trouble setting up phpMailer 5.1

  1. #11
    cGamez010's Avatar
    cGamez010 is offline x10Hosting Member cGamez010 is an unknown quantity at this point
    Join Date
    Apr 2008
    Location
    Wonderboom South, Pretoria, Gauteng, South Africa.
    Posts
    37

    Re: having trouble setting up phpMailer 5.1

    thats meant to be so, mr. xgreenberetx - my AJAX script is in debugging mode so it alerts the source xml and sql queries made. here are the lines that do that, usually they are commented. they are in the alertContents() function in Part 1/6 - containing the first bit of javascript. as i said earlier, the problem is with getting phpmailer 5.1 to work on x10hosting.com, it is not register_globals cos that is off on my side as is it here - yet phpmailer installed successfully on my xampp 1.7.2.

    Code:
     // this is just after the receipt of the response, wether xml or containing a php error
    alert(this.responseText);
    
                // mailer response used to output phpmail successes and failures
                if (xmldoc.getElementsByTagName("result")[0]) {
                    if (xmldoc.getElementsByTagName("result")[0].firstChild) {
                        var result = xmldoc.getElementsByTagName("result")[0].firstChild.data;
                        if (trim(result) != "") alert(result);
                    }
                }
                // outputs all the mysql queries / failures processed
                if (xmldoc.getElementsByTagName("sql")[0]) if (xmldoc.getElementsByTagName("sql")[0].firstChild) var sql = xmldoc.getElementsByTagName("sql")[0].firstChild.data; if (sql != "") alert(sql);
    // these are further down in the function, alerting the mailer's response and sql queries made
    Edit:
    see, the problem that i am having, is that when the form is filled out, and you click submit query, that it doesn't even return a response. it should have used phpmailer and its includes to send a mail to the test supplier in the database that is linked to the service with some or all of the attributes provided by it, after it has been matched.
    Last edited by cGamez010; 01-01-2010 at 11:57 AM. Reason: Automerged Doublepost
    Sincerely,
    Pierre "Greywacke" du Toit.
    Please excuse the extensive posts, I prefer to split the code into includes by category/page, rather than functions.

  2. #12
    lachytv is offline x10Hosting Member lachytv is an unknown quantity at this point
    Join Date
    Dec 2009
    Posts
    43

    Re: having trouble setting up phpMailer 5.1

    Just throwing this out here with out having a clue with programming but I think dedicated mailing scripts are band if that what you are putting together.

    Link
    LachyTV
    My YouTube Channel
    Conspires forum (has quite a few members)

  3. #13
    cGamez010's Avatar
    cGamez010 is offline x10Hosting Member cGamez010 is an unknown quantity at this point
    Join Date
    Apr 2008
    Location
    Wonderboom South, Pretoria, Gauteng, South Africa.
    Posts
    37

    Re: having trouble setting up phpMailer 5.1

    as far as i know it is not illegal, or someone would have told me in the ticket i have.
    well this site is moving onto the live server now anyways, with mysql and non-gmail smtp mail so no more worries there
    Edit:
    as far as i know it is not illegal, or someone would have told me in the ticket i have.
    well this site is moving onto the live server now anyways, with mysql and non-gmail smtp mail so no more worries there
    Last edited by cGamez010; 01-04-2010 at 09:24 AM. Reason: Automerged Doublepost
    Sincerely,
    Pierre "Greywacke" du Toit.
    Please excuse the extensive posts, I prefer to split the code into includes by category/page, rather than functions.

+ Reply to Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Issue setting up google apps
    By stpvoice in forum Free Hosting
    Replies: 4
    Last Post: 11-13-2009, 10:20 AM
  2. Trouble setting up new server account
    By ray9989 in forum Free Hosting
    Replies: 1
    Last Post: 07-15-2008, 02:13 AM
  3. PHPMailer and Hotmail Spam
    By soulhunter in forum Free Hosting
    Replies: 2
    Last Post: 04-24-2008, 12:08 PM
  4. Setting Up Domain
    By Eon-Rider in forum Free Hosting
    Replies: 5
    Last Post: 11-26-2007, 03:44 PM
  5. trouble with setting up web pages
    By gnarkill in forum Scripts & 3rd Party Apps
    Replies: 4
    Last Post: 07-12-2005, 09:54 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers