close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

email doesn't send

Thread began 8/24/2010 2:12 pm by tmcbinc99963 | Last modified 8/30/2010 4:03 pm by Jason Byrnes | 1671 views | 13 replies |

tmcbinc99963

email doesn't send

After correcting all the conflicts in the support ticket, I still don't get an email when the form is submitted. The error report code is there, but it doesn't report any errors. Link checker reports no bad links.

Files are attached.

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

Jason ByrnesWebAssist

your form page is set to post to the form results page.
This will never trigger the email behavior.

Set the form page to post to itself then set universal email to redirect to the results page after sending the email.

Sign in to reply to this post

tmcbinc99963

still doesn't work

Changed the action to form.php page and redirect to formresults.php - still don't get an email, and session variables don't work either. Once the action is back to formresults.php the session data works but still no email.

Files are attached.

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

Jason ByrnesWebAssist

The code to set the session variables should be moved to the form page, and the forms action needs to be set to post to itself.


In the Universal Email wizard, you need to enter the proper smtp server to use for your hosting provider, contact your hosting provider for an smtp server address to use.

Sign in to reply to this post

tmcbinc99963

Form doesn't redirect; still no email

After moving the session info to the form.php page, changing action to form.php, redirecting to formresults.php, and entering smtp info, I get the following:

No redirect to formresults. Page just returns to itself and clears out the data. Tried several configs of redirect url with no luck.

Used the smtp server info from my Mail account, so the email will come back to me; no luck.

Files are attached.

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

Jason ByrnesWebAssist

the redirect is failing due to the blank line at line 11.


The smtp server form your emai probably wont work.


you need to use your web hosts smtp server, you need to contact them to determine what server can be used to send email from a php script.

Sign in to reply to this post

tmcbinc99963

redirect fixed; no session data; no email

Session variables not going through since session info moved to form page. Thought it might be the 'session_start' at top of formresults page was creating new session, but no other php configuration worked either.

Got server info from host; still no email. Not sure what 'return path' should be. UE manual doesn't reference this one.

New files attached.

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

Jason ByrnesWebAssist

you have the forms action set to post to a differant form.php page:

<form action="../form.php" method="post" enctype="application/x-www-form-urlencoded" name="GenericForm" target="_self" class="formtext" id="GenericForm">


change that to:
<form action="form.php" method="post" enctype="application/x-www-form-urlencoded" name="GenericForm" target="_self" class="formtext" id="GenericForm">


I dont think you need to use the application/x-www-form-urlencoded encodeing type either

Sign in to reply to this post

tmcbinc99963

same result

Same result on everything - no session data, no email.

Sign in to reply to this post

Jason ByrnesWebAssist

for the session:
your session start line should be:

php:
if(!session_id()) session_start();




your host may have an issue with session management. to test use the sessiontest page from the following thread:
showpost.php?p=23826&postcount=2


for the email, are you being redirected to the formresults page?


if so, the email is being sent to the smtp server. It is the smtp server that is not relaying the email for some reason. Contact the host to see if they will look intobthe smtp server error logs to see why the server is not relaying the email.

Sign in to reply to this post
loading

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...