Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-10-09 07:57:45

vineonardo
Member
Registered: 2011-08-31
Posts: 128
Website

Get rid of "Sorry, Unable to send email"

Hello,
I’ve a website where I’m using more than one contact forms.
I’m using zem_contact form for that.

The form works perfect on home page while it gives “Sorry, Unable to send email” message when I try to use it on contact page.
Codes for both are as follows:

Home Page:

<txp:zem_contact to="client's mail id goes here">
<txp:zem_contact_text label="Name" break="" name="name"/>
<txp:zem_contact_select label="Type of Room" list="Double Bed Non A/C,Triple Bed Non A/C,Double A/C, Triple A/C, Deluxe Triple Bed A/C" selected="Double Bed Non A/C" name="type"/>
<txp:zem_contact_text label="No. of Rooms" break="" name="no_rooms"/>
<txp:zem_contact_text label="No. of People" break="" name="no_people"/>
<txp:zem_contact_text label="Date of Arrival" break="" name="date_arrival"/>
<txp:zem_contact_text label="Phone" min="7" max="15" break="" name="phone"/>
<txp:zem_contact_submit label="Submit" />
</txp:zem_contact>

Contact Page:

<txp:zem_contact to="client's mail id goes here">
<txp:zem_contact_text label="Name" break=""/>
<txp:zem_contact_email break=""/>
<txp:zem_contact_text label="Phone" min="7" max="15" break=""/>
<txp:zem_contact_textarea label="Message" break=""/>
<txp:zem_contact_submit label="Send" />
</txp:zem_contact>

Thanks for your time.

Last edited by ruud (2012-10-09 13:32:30)

Offline

#2 2012-10-09 13:34:33

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Get rid of "Sorry, Unable to send email"

Please post the full TXP diagnostics. This error normally only occurs if you cannot use the built in PHP “mail” function. If so, use a different hosting company for your website.

Offline

#3 2012-10-10 09:47:23

vineonardo
Member
Registered: 2011-08-31
Posts: 128
Website

Re: Get rid of "Sorry, Unable to send email"

Hey ruud,
thanks for your reply.
I figured out that this is happening due to SMTP authorization requirement by hosting.

Is there any way I can get authorization done? When contacted hosting provider, they put a testing mail script which uses “class.phpmailer.php”.

So that’s all information I have right now, is there anything I can do in this situation?

P.S. I’m not php programmer.

Offline

#4 2012-10-10 20:33:58

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Get rid of "Sorry, Unable to send email"

It’s not just ZCR that can’t send any emails, but TXP as well. It’s not impossible to get ZCR working with that phpmailer script, but it does require quite a few changes and if you can’t do it yourself, you do need someone who can write PHP.

Offline

#5 2012-10-10 23:42:04

aslsw66
Member
From: Canberra, Australia
Registered: 2004-08-04
Posts: 342
Website

Re: Get rid of "Sorry, Unable to send email"

I moved hosting companies. I wasn’t wedded to them anyway, so the easiest option was just to move – modifying plugins would have taken up just too much of my time.

Offline

#6 2012-10-11 07:45:43

vineonardo
Member
Registered: 2011-08-31
Posts: 128
Website

Re: Get rid of "Sorry, Unable to send email"

Thanks ruud & aslsw66 for the reply.

@ruud, yes even textpatterns mails are not being delivered.

@aslsw66 your solution is easier but unfortunately its my client’s website and changing the hosting provider is completely out of options as we are very close to site’s launch and it was in the testing phase I came across this problem. Silly me!

So I just asked the hosting provider if I can get it working without having to use SMTP authorization, and they gave following reply.

If you do not wish to use any SMTP authentication, you can use the following details:
SMTP server – ‘localhost’
Email address – should be something @domain name.

So that’s it, I tried this and still working on it but gives an error.
I’ll post that in detail if the trick told by my hosting provider fails.

Once again, thanks to both of you for your time.

Last edited by vineonardo (2012-10-11 07:51:00)

Offline

Board footer

Powered by FluxBB