Business Skyline Effect Theme - Contact Form

Mike's Avatar

Mike

11 Mar, 2010 09:01 PM via web

Hi,

I'm trying to get the Business Skyline Effect Theme Contact Form to work.
I've created the form and published it, however I get the following error when I try to submit the message.

"I'm sorry, there seems to have been an error trying to send your email. Please try again."

How do I tell RapidWeaver to use my email server to send the message?
The Email server is on a different server to the webserver thus I need to be able to enter the details onto the RapidWeaver form during development, however I cannot find how to do this?

Can you please give me some information.

I am hosting the webpages on a Ubuntu Linux Server running Apache2 and PHP5.
The Email server is on another machine on the same network also running Ubuntu server edition and the MTA is exim4.

Please reply via my email address.

Thanks!

Mike.

  1. Support Staff 2 Posted by Luke Hefson on 12 Mar, 2010 09:43 AM

    Luke Hefson's Avatar

    Hi Mike,

    Thanks for the message. I'm sorry to hear that you are having issues with RapidWeaver, I understand what an inconvenience this may be for you.

    If you are receiving the "I'm sorry, there seems to have been an error trying to send your email. Please try again." error message than it is likely that there is an issue with your hosts PHP setup. Have you tried contacting them to see if there are any issues on their end?

    You might also like to take a look at the following FAQ on contact forms:

    http://support.realmacsoftware.com/faqs/rapidweaver/common-fixes-for-ftp-publishing-issues

    Could you also provide us with a link to your contact form URL?

    Kind regards,

    Luke

    -- Luke Hefson

    Support & QA, Realmac Software

    Our support team are in the office between 9am and 5pm UK time, Monday to Friday, and we aim to answer all requests within one business day.

  2. 3 Posted by Mike Tatum on 12 Mar, 2010 11:54 AM

    Mike Tatum's Avatar

    Hi Luke,

    Thanks for the reply.
    The server on which the webserver is running is managed by myself, so I can make any alterations necessary to resolve this issue.

    What I need to know from you is what process the mail form is using to send the mail.
    In the apache error log it states that the sendmail binary is not found when called, is this your
    PHP program calling the sendmail binary indirectly?

    If so then I should be able to resolve this issue quite easily, I just need confirmation from you that you do call the sendmail binary
    via PHP directly.

    Also, if I was to use exim4 rather then sendmail would that be an issue??
    Would it be possible for you to connect to sendmail on port 25 on another server rather then looking for sendmail on the local machine?

    At present I am unable to give you a link to the contact form as the site it is being developed on is not externally facing,
    however should it become necessary I can move the site onto an externally facing server.

    I look forward to your reply.

    Best regards,

    Mike.

  3. Support Staff 4 Posted by Luke Hefson on 12 Mar, 2010 04:48 PM

    Luke Hefson's Avatar

    Hi Mike,

    Thanks for the update. We will need to consult our developers on this ticket (as very few people have issues with the contact form when hosting the site themselves). I'll get an answer to your questions as soon as I can.

    Kind regards,

    Luke

    -- Luke Hefson

    Support & QA, Realmac Software

    Our support team are in the office between 9am and 5pm UK time, Monday to Friday, and we aim to answer all requests within one business day.

  4. 5 Posted by Mike Tatum on 12 Mar, 2010 04:55 PM

    Mike Tatum's Avatar

    Hi Luke,

    Thanks for the reply, I look forward to hearing from you soon.

    Have a good weekend!

    Mike Tatum
    AvanceIT
    0845-5084406
    http://www.avanceit.co.uk

    ===========================================================================================
    The information contained in this transmission is intended only for the person or entity to which it is addressed and
    may contain confidential or privileged material. Any review, onward transmission, dissemination or other use of,
    or taking any action based on this information by any person or entity other than the intended recipient is prohibited.
    If this communication has been received in error, please return it to the sender and delete the material from
    your computer.

    Any views expressed in this message about individuals or other companies are those of the originator and
    unless specifically stated they do not represent the views of AvanceIT.

    The content of this email or any attachment may contain software viruses, which could damage your computer.
    While AvanceIT have taken every reasonable precaution to minimise this risk, we cannot accept liability for
    any damage which you sustain as a result of computer viruses.
    You should carry out your own virus checks before opening this email or attachments.
    ===========================================================================================

  5. 6 Posted by Aron Carroll on 12 Mar, 2010 09:53 PM

    Aron Carroll's Avatar

    Hi Mike,

    Our PHP script uses the PHP mail() function, which I believe is simply a wrapper around the sendmail binary. Reading through the documentation for mail() it looks like it is possible to configure sendmail in your php.ini file.

    Also from what I can see from a quick Google search I believe that exim ships with a sendmail executable which you should be able to specify in the sendmail_path setting.

    I'm afraid my experience with configuring servers is limited but if you are still having trouble I will be happy to look into this further.

    Cheers,

    Aron


    Aron Carroll
    Web Developer, Realmac Software

  6. 7 Posted by Mike Tatum on 16 Mar, 2010 04:45 PM

    Mike Tatum's Avatar

    Hi Aaron,

    Your contact page works just fine with exim4, I have it installed and operational now on Ubuntu Server Edition 64bit.
    There is no need to define the sendmail binaries in the php.ini file as it is on the default path.

    The important part of the exim4 setup is to tell it to listen on 127.0.01 (localhost) for connections as this is what is used by the PHP script.

    This is done as user root using the following command: dpkg-reconfigure exim4-config

    I hope this information is useful to you.

    Best regards,

    Mike Tatum
    AvanceIT
    0845-5084406
    http://www.avanceit.co.uk

    ===========================================================================================
    The information contained in this transmission is intended only for the person or entity to which it is addressed and
    may contain confidential or privileged material. Any review, onward transmission, dissemination or other use of,
    or taking any action based on this information by any person or entity other than the intended recipient is prohibited.
    If this communication has been received in error, please return it to the sender and delete the material from
    your computer.

    Any views expressed in this message about individuals or other companies are those of the originator and
    unless specifically stated they do not represent the views of AvanceIT.

    The content of this email or any attachment may contain software viruses, which could damage your computer.
    While AvanceIT have taken every reasonable precaution to minimise this risk, we cannot accept liability for
    any damage which you sustain as a result of computer viruses.
    You should carry out your own virus checks before opening this email or attachments.
    ===========================================================================================

  7. 8 Posted by Aron Carroll on 16 Mar, 2010 06:22 PM

    Aron Carroll's Avatar

    Hi Mike,

    Thanks for your reply, that is indeed useful information. I'm glad to hear you're back up and running.

    Cheers,

    Aron

    ---

    Aron Carroll
    Web Developer, Realmac Software

  8. Nik Fletcher closed this discussion on 22 Mar, 2010 03:28 PM.

Comments are currently closed for this discussion. You can start a new one.