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

recieving mail

Thread began 3/07/2014 2:03 pm by Smart-FX | Last modified 3/10/2014 2:30 pm by Jason Byrnes | 671 views | 13 replies |

Smart-FX

recieving mail

Hi there, im not receiving any email for some reason when the form is submitted.

Sign in to reply to this post

Jason ByrnesWebAssist

Who is your host?

Depending on your host, you may need to set certain options in Universal Email.

Some hosts will work if you leave the SMTP Server setting on the Email Server Tab blank, others will require that you enter the SMTP server address.

Some will work using the standard Mail protocol, other will require that you use the Pear Mail for SMTP, some using Pear mail will require authentication.

Some hosts may require that the from address being used be a valid email address for your domain. Some may require that the option to include the from Email address be passed as an extra parameter.

To be successful with Universal Email, you will need to know the requirements of your host for sending an email using a PHP script.

Also, double check your Spam folder, it is possible that the email is being trapped as spam.

does it direct to the success page?

if it does, add the following code to the success page, if not add the code to the form page:

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


it will write the session contents to the page including thew status of sending the email to the SMTP server.

Sign in to reply to this post

Smart-FX

My host is Blue Host.

Sorry I don't understand as im still a newbie. plus where does that code go? on which line?

Sign in to reply to this post

Jason ByrnesWebAssist

does it direct to the success page?

if it does, add the following code to the success page, if not add the code to the form page:

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


the code should go in the body of the page.

Sign in to reply to this post

Smart-FX

Sorry not sure what you mean by success page? I have the form redirect to a thank you page if that's what you mean? the thank you page is in html.
Also I tried applying the code to the page with the form on and it showed a load of code when loading the page. ive taken the line of code you gave me off now.

here's the page by the way.

http://www.stagnhendotshirts.com/contact.php

Sign in to reply to this post

Jason ByrnesWebAssist

please add that code back so i can see the result. for troubleshooting purposes.

Sign in to reply to this post

Smart-FX

Hi, I have added the code again. there's no code showing this time. but i'm still not receiving the forms contents.

Sign in to reply to this post

Jason ByrnesWebAssist

the session contenst are showing the form address and to address as:

Enquirey@ Stag'n'Hen Do T shirts Reply-To: Enquirey@ Stag'n'Hen Do T shirts


there are 2 problems with this:

1) neither of these are a valid email address. a valid email address must have a TLD at the end, for example .com or .org. a valid email address can contain only letters and numbers. the only exceptions are the dot and underscore characters you have spaces and single quotes in the address which is not valid.


2) you are using the same address for the from and to address. most SMTP servers will not accept an email that uses the same address for the from and to address, it will be treated as spam.

Sign in to reply to this post

Smart-FX

that's strange as when I configure the form, and chose the 'from' and 'to' options, I put to: tony@smart-fx-uk.com.

How do I set this manually as the form tool is obviously not working.

Sign in to reply to this post

Jason ByrnesWebAssist

I'll need to troubleshoot directly, see the private message section.

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