Results 1 to 3 of 3

Thread: IXWebHosting - getting emails to send

  1. #1
    Join Date
    Dec 2003
    Posts
    3,980

    Wink IXWebHosting - getting emails to send

    In recent times, some IXWebHosting customers have had problems getting FormMail to send email from the IX servers.

    The solution is to add an "ini_set" call into the PHP code, like this:
    PHP Code:
    ini_set('sendmail_from''webmaster@yourdomain.xyz'); 
    replacing "yourdomain.xyz" with your actual domain name. For us, that would be "tectite.com".

    You can just add this straight into FormMail near the top at around line 168, but then you'll have to remember to do this again whenever you upgrade your copy of FormMail.

    To avoid this problem, here's the preferred technique:
    1. In FormMail's configuration section, look for $HOOK_DIR and set it to "." (which means "current folder"):
      PHP Code:
                     /* Help: http://www.tectite.com/fmdoc/hook_dir.php */
      $HOOK_DIR "."
      Depending on your version of FormMail, this is around line 580.
    2. Create a file called "fmhookpreinit.inc.php", with the following contents:
      PHP Code:
      <?php
      ini_set
      ('sendmail_from''webmaster@yourdomain.xyz');
      ?>
      making the appropriate replacement of "yourdomain.xyz".
    3. Upload "fmhookpreinit.inc.php" to your server in the same folder as your copy of FormMail.
    4. Test FormMail with the usual "testalert" test, and then test your forms.
    I've attached a sample "fmhookpreinit.inc.php", which you can download and change with a simple text editor. (Don't use DreamWeaver!).

    Thanks to FormMail user, David Owens for the information contained in this tip.

    One last thing: PHP on your server must be otherwise setup correctly. For example, you will need an appropriate php.ini (maybe php5.ini) file. IX webhosting is responsible for providing that to you, so please contact your service agent for assistance, if required.
    Attached Files Attached Files
    Last edited by russellr; 03-Oct-2011 at 07:39 PM.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  2. #2
    Join Date
    Oct 2010
    Posts
    13

    Unhappy Re: IXWebHosting - getting emails to send

    Hi Russel,

    My forms had been working fine for years and recently they stopped working and I was getting a message that said my form was not sending.

    I tried making the change that you suggest in this thread and I also specified the email address in the "From_User" field, but my emails are still not sending.

    I asked my web host what the problem was and he says that they made a chnage to the Sendmail function on the server for security reasons and my formmail script must specifiy a valid email address and provide a password to the server when the form is submitted in order to tell the server to send the results email.

    I have no idea how to do this. Can you help?

    Thanks,

    Lucie

  3. #3
    Join Date
    Dec 2003
    Posts
    3,980

    Default Re: IXWebHosting - getting emails to send

    Hi,

    Yes, we can help with this.

    The first thing to do is to get your host to show you a sample PHP script that will work (minus the actual user names and passwords, of course).

    This tells us exactly what needs to be done to work with their security system.

    Then, we can either advise you one what changes you need to make, or do the work for you under our subscription support service.

    Please email me directly when you have the above information.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Can't get emails to send - tried all tutorials
    By messyhead in forum Community Support
    Replies: 2
    Last Post: 18-Aug-2011, 12:30 PM
  2. Send two seperate emails?
    By shriek in forum HOWTO Guides and Tips
    Replies: 5
    Last Post: 22-Jul-2010, 10:53 PM
  3. Need Help with forms and IXWebhosting
    By ccbishop in forum Community Support
    Replies: 3
    Last Post: 04-Jan-2009, 01:33 AM
  4. Formail and IXWebhosting not working
    By ccbishop in forum FormMail Subscription Support
    Replies: 3
    Last Post: 28-Dec-2008, 08:34 PM
  5. send to other emails
    By Iuli in forum Community Support
    Replies: 1
    Last Post: 08-May-2007, 07:56 PM

Tags for this Thread

Bookmarks

Posting Permissions

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