- This topic has 9 replies, 2 voices, and was last updated 12 years, 2 months ago by
Peacemaker.
-
AuthorPosts
-
PeacemakerMemberI have tried so many different strategies to get the php mail to work (http://www.genuitec.com/support-genuitec/viewtopic.php?f=8&t=1233&hilit=Mail&start=30)
I have uploaded it to a free php hosting biz.nf, uploaded the send php file and all files, compiled the contact form in mobi, altered the custom code so it points to the send.php URL which the send.php file is on. Gives me confirmation but doesn’t send anything. Tried everything nothing works! Please help.
April 2, 2013 at 7:31 pm #337414
BrandonMemberI have a sample in my cheatsheet that has worked for a couple people.
http://cincyplanet.com/mobione/
See the PHP send mail code
It uses the form setting in mobione, which I have found the simplest for sending mail using php.
I have also used various versions for much more advanced forms.April 3, 2013 at 7:59 am #337444
PeacemakerMemberhey cincy it’s still not working
1. I have created the php file from the code, edited the email to my hotmail email.
2.uploaded the php file to http://www.betatestapp.co.nf/cincysender.php
3.created form with three textboxes in mobi, email, subject, message
3.made sure the screen type was form to url, put the url as http://www.betatestapp.co.nf/cincysender.php
4.action type of form POST
5.created a submit form buttonuploaded as webapp, no joy……
help please do you think my server don’t support it?
http://www.biz.nf/
——————————————————————if the above doesnt work my only alternative is to send email via iphone mail app, but without being to use a confirmation screen after sending it… it is useless, in terms of user friendliness
April 3, 2013 at 8:49 am #337447
BrandonMemberBy clicking on the php link I can see that it is returning a value, Invalid Email, so the problem is with your form most likely. Make sure the name of the text fields match exactly the ones in the php file. If you sting in php is email the text field for it must be email, I believe it is case sensitive.
April 3, 2013 at 9:55 am #337454
PeacemakerMember@CincyPlanet wrote:
By clicking on the php link I can see that it is returning a value, Invalid Email, so the problem is with your form most likely. Make sure the name of the text fields match exactly the ones in the php file. If you sting in php is email the text field for it must be email, I believe it is case sensitive.
Have a look at a screen pic of all the forms, can you see where i might be going wrong?
there is even a pic of the php file….
your help is so much appreciated…
Attachments:
You must be logged in to view attached files.April 3, 2013 at 10:30 am #337456
BrandonMemberFrom what I can see it looks fine.
Another thing you can do is in your custom js file find the postSubmit function of your form. You will see a isSuccess statement place this alert in both spots:
alert(data);
This should tell you any problem it is having, or if it is successfully doing it.
April 3, 2013 at 10:39 am #337459
BrandonMemberThere is a problem in the php after the check email function it is returning an error, but if I dont fill out the email it returns a Invalid Email. My suggestions is to take out all the email check and see if that works. You can always to basic email checking in javascript before sending the form if needed.
April 3, 2013 at 10:50 am #337461
PeacemakerMember@Peacemaker wrote:
I have tried so many different strategies to get the php mail to work (http://www.genuitec.com/support-genuitec/viewtopic.php?f=8&t=1233&hilit=Mail&start=30)
I have uploaded it to a free php hosting biz.nf, uploaded the send php file and all files, compiled the contact form in mobi, altered the custom code so it points to the send.php URL which the send.php file is on. Gives me confirmation but doesn’t send anything. Tried everything nothing works! Please help.
Ok the above php mail sender & contact form is getting very close, there is a Ajax return get, which has a an error catcher and its coming back as error unable to send mail try another time?
I’m beginning to suspect my host biz, do you have a working demo of the php mail? in a server…. And can you also recommend a free host that has php server?
April 3, 2013 at 11:13 am #337463
BrandonMemberTry pointing to this form:
cincyplanet dot com / mobione / peacemaker.php
and see if you get an email, I used the email in the screen shot.
April 3, 2013 at 12:45 pm #337473
PeacemakerMemberThank you so much cincy your next drink its on me, I got the email.
Was I right with suspecting my php host server?, can you also send me the php file you posted just want to examine the code and make amendments by adding fields etc.
-
AuthorPosts