close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Can't send an email and don't get any errors....

Thread began 8/25/2009 9:18 pm by steve387748 | Last modified 9/02/2009 3:40 am by office377308 | 1542 views | 4 replies |


Can't send an email and don't get any errors....

New to the UE extension (just got it hours ago) and tried following the getting started guide. I also watched the video and followed along.

One question is that in the video it references getting some code based on the model being used. In my case, I'm using PHP. Where is this information obtained? In the video it appears to be some place that is not part of the UE behavior although everything prior to that page shown on the video was interaction with the UE behavior window.

Another question is around the plain text view of the body. Can the HTML preview (from the Body tab) have something completely different than the text tab? I tried inserting the php code shown on the video in the text tab's view after clicking edit, and the code appears there OK. I typed some random text in the HTML tab view to see if it would show up in an email.

Another question around using the PEAR module for mail. It asks for the path to the PEAR module which in my case is found within the PHP directory that's contained in WAMP's www folder. Is there a specific directory in the PEAR directory I should be pointing to or just use the PEAR root directory?

And finally, I saved all my work after creating a simple form based on the getting started guide, previewed the page in Firefox, entered some info including a legitimate email address and clicked submit. If it did anything, I can't tell because I saw no failure notice or anything else pop up to indicate mail was sent. I had it redirect to a page after clicking submit and that worked, but no mail ever shows up. Problem is that I don't know if it ever sent it or not. How or where would I look to see if the email was actually sent or an error was encountered?

I entered the SMTP info and port per my current ISP's setting to test the page. I tried both the email selection as well as the PEAR selection and couldn't tell if anything happened other than I've never gotten an email.

Sign in to reply to this post

Eric Mittman

In the video where you select your server model it says this about the code you need:

choose your server model to download a zip file of code, open the file in a text editor

You can have different content in the html and the plain text, you should edit the html with the DW icon and the text with the pencil icon.

You will need to specify the PEAR root directory like you have mentioned. To help determine if the Universal Email server behavior was triggered you can specify a page for the redirect, this way you will go to that page when the server behavior occurs.

If you are having difficulty getting the email to send you should contact the admin for your SMTP server and ask if there are any entries in the logs for your attempted mail send.

Sign in to reply to this post


I'll go back and check out the video again. Didn't realize there was a link.

I did add a file for the redirect and when submitting the form it redirects to the page name I supplied. I assume that means the behavior worked OK.

I'm running WAMP on my Windows XP SP3 PC using PHP, Apache, and MySQL. I tried pointing to the PEAR directory to use mail with PEAR, as well as just the mail option. Neither seemed to result in an email being sent. Note that I'm using the SMTP mail server that's supplied with my DSL connection's ISP. I used the same info as I use for Outlook when sending and receiving email. Actually there isn't much to supply using this method with the standard mail object since all it requests is the smtp address ( for MSN). I normally have to use a login userID and a password when using Outlook to send mail.

Does this additional info make a difference?



Sign in to reply to this post

Eric Mittman

Some users have problems getting mail to send with their ISP email settings. I think that doing this with PEAR is the way to go since it is unlikely that the mail server would allow you to send email without authentication.

Your path to PEAR should just point to the PEAR directory that you have, it is probably in your php folder. It is looking for the Mail.php file that is in this location, you can check it yourself to see if you have the folder and file there.

If you are having problems testing with your ISP email server it may be worth trying to use your own SMTP server locally. If you have XP pro you should have IIS available to you. If so you should try enabling the smtp server from here. If you need to install IIS to get this feature enabled just make sure that you stop the server web server so it does not interfere with your Apache server.

Sign in to reply to this post


Originally Said By: steve387748
  I'll go back and check out the video again. Didn't realize there was a link.  

Hi Steve,
I found this quite confusing, too! I created a form and tried to send it following the getting started guide. There was no hint at all how to do such a basic thing. The php code could have been posted in the document.

This is the only drawback I found so far. all the other parameters are really well described and easy to use.

Thanks for bringing this up.

I found another issue if you send a form, the howto suggests to put this into the body area:

<?php foreach( $_POST as $pkey => $pval ) { ?>
<?php echo(str_replace("_"," ",$pkey).": ".($pval)); ?>
<?php } ?>

the result is ugly because there won't be any breaks after each field / value pair.
The second line should be:
<?php echo(str_replace("_"," ",$pkey).": ".($pval))."<br>"; ?>

Any suggestion how to simplify the "send form" option?

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





Ease of use


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