close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Complicated to send a mail from a form that is created in Form Builder

Thread began 2/04/2013 1:34 pm by Jonas | Last modified 2/17/2013 1:48 am by Jonas | 2585 views | 6 replies |

Jonas

Complicated to send a mail from a form that is created in Form Builder

I'm no expert in the area. But the people I talked to, and in contact with two different webhosting companies - they do not understand why Universal Email works as it does.

It does not seem like it works to send an email that is created with this function. I've tried with two different webhosting companies without success. The email does not go away. Or rather, I get no mail in my mail basket. I have entered the correct SMTP information that the various hosting companies given me.

When I search on goggle on PHP and FormMail, it does not seem like it should be so complicated to have a form, send an email.

Sign in to reply to this post

Jason ByrnesWebAssist

Who is your hosting company?

What have you entered for the From Address in the Universal Email settings? For many hosts this must be a valid email address for your domain.

make sure you are not using the same address for both the To address and the From address. many SMTP servers will not relay the email if you use the same address for both.

some SMTP Servers will require that you provide the From address as a an extra parameter, there is an option for the on the SMTP servers tab.

In Universa lEmail, did you set a go to page? If so, when you submit the form does it redirect properly?

on the go to page, try adding the following code:

php:
<?php @session_start(); var_dump($_SESSION); ?>



this will write the session contents to the page including the status of sending the email to the SMTP Server, it will return success or failure. if it returns success, there is either an issue on the smtp server end, or the settings for sending the email are not correct.

if you need further help,, include a link to your contact form and a copy of the page and the webassist/email folder in a zip file.

Sign in to reply to this post

Jonas

Still error, Attached zip-file include

1, I have tried two different hosting providers that I have contact with. Loopia (www.loopia.se) and website (www.webbplatsen.se).

2, From: address is linked to the email field in the form. To: address set to my own.

3, I've tried entering different email addresses in the form without change.

4, If so, where do I enter this task (option for additional parameter in the SMTP Server tab). Can not find this setting.

5, No, something is wrong.

6, I have now added the code that you attached. Answer page that will come up after the form is sent with the message: "Thank you for your order", is empty.

7, Attached is a zip file with the files you want. The link to the form is: operaform2013.php. The link to the answer page is: tack.php

Grateful for help.

Attached Files
formmailError.zip
Sign in to reply to this post

Jason ByrnesWebAssist

no matter what i enter in the form, i cannot get it to submit, it is showing an error for the summary. i am not able to fil in the form and get the summary pass validation

Sign in to reply to this post

Jonas

Please confirm the procedure.

Now I do not know what I'm doing wrong. Confirmation page goes blank. It worked before.
I have started all over again, and deleted both the confirmation page and form page. This is the process that I go through step by step. Can you confirm that this is the right procedure. I would really like a step by step guide.
1, create a new file.
2, rename it to ”thanks.php”.
3, Write "Thanks for your order!" On the page.
4 Save the file.
5, create a new file.
6, Rename it to ”operaorder.php”.
7, Select Insert Form.
8, select the form that is saved as a preset, including custom design.
9, select "thanks.php" that action page.
10, Choose Form Function tab.
11, click the Send the form contents in an email.
12, press the mailbox icon.
13, select the flash icon in the from field.
14, locate the field ”E_post” in Current Working Form. Press OK.
15, Enter "xxxxxx" in the To: field.
16, Enter the subject in the Subject: field.
17, press the mailbox icon.
18, Enter "xxxxxx" in SMTP server: field.
18, Enter "xxxxxx" in Port: field. Press OK.
19, press Finish.
20, Press Finish again. Dreamweaver creates the form and fill in the code on the "thanks" page.
21, Select "save everything" from the File menu.
22, sending up everything on both sides.

Sign in to reply to this post

Jason ByrnesWebAssist

a blank page means that a php error is occurring but error reporting is turned off.

to turn error reporting on, add the following code at line 1:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>



once we know what the error is, we will be able to troubleshoot the cause.

Sign in to reply to this post

Jonas

Update

Update regarding this topic. Everything works now.

What I did was:
First I deleted the "forms" folder in the folder WebAssist. Then I created a new form from the preset that I saved.

I do not know if this is classed as a bug. But I think it's a bit strange that you can not work on the form it once created. Maybe it's because I've gone into the form and manually added the code, or that I have created many different versions of the form so it will be too much for the Form Builder to stick together, or to write the correct files.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...