close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

UE 4.0 on Windows PHP Box

Thread began 4/27/2010 3:21 pm by Ian | Last modified 4/30/2010 8:50 am by Ian | 3044 views | 5 replies |

Ian

UE 4.0 on Windows PHP Box

Guys,

I am having real problems with UE 4.0 wanting to send emails on a Windows box running PHP. So much so that this extension is unusable and I have had to revert back to the previous version (which sends fine, so I know it's not my server setup).

UE 4.0 works fine on Linux based servers but not Windows (two problems with different hosting companies / configs where I can get UE 3.0 to work fine).

Has it been tested on PHP on a Windows box?

Thanks,
Ian

Sign in to reply to this post

Eric Mittman

I have used UE 4 on a windows machine running IIS and can get the emails without issue. What is the specific environment that you are trying this on, do you know the SMTP server type and setup? Does the server require authentication?

When you get a working email using UE 3 do you specify the same settings for the mail object? If you can post back with a copy of your page that has the UE4 server behavior on it and the webassist folder from your site I can look at the pages and add some debug code to help determine how far along in the process it is getting.

Sign in to reply to this post

Ian

Oh Eric, I'm tearing my hair out with this.

Because you have bundled the file manipulation in with this and I have had to 'downgrade' to get a solution rolled out it has caused havoc with Dreamweaver and the email and Digital File Pro features.

I'm getting canapplyserverbehavior javascript messages, WA_DFP_Bundle error messages and others every few seconds.

What a mess!

Why oh why do you have to fix something that isn't broken and merge these extensions. I am really concerned about the quality that you guys are rolling out of late and it's having a serious effect on what I am trying to do with my solutions.

Perhaps you should spend more time getting the extensions right rather than playing around with those silly solution packs you keep rolling out!

In the end I've had to opt for using some hand written PHP code to send the email, which works without any problems, but what a waste of time, effort and money.

I'm a very concerned customer.

Sign in to reply to this post

Ian

For anyone else having problems with UE 4.0 sending email, try using this small bit of code instead.

<?php
$MailBody = "";
$MailBody = $MailBody . "Hello";
$to = 'xxx@xxx.com';
$subject = 'Test';
$message = $MailBody;
$headers = 'From: xxx@xxx.com' . "\r\n" .
'Reply-To: xxx@xxx.com' . "\r\n" .
'X-Mailer: PHP/' . phpversion();

mail($to, $subject, $message, $headers);
?>

Its really easy to use and if you want to send HTML simply add this to your header section:

'Content-type: text/html\r\n' . "\r\n" .

Cheers
Ian

Sign in to reply to this post

Eric Mittman

You should not need to downgrade the extension, the code that UE 4 produces will send emails in the way that it is configured. It is possible that there is some error in the way the email code was written to the page or a configuration error. I would like to see the page with the UE on it along with a copy of the webassist folder from the site. I can test this out to see what is going on. Also if you can reply to some of the questions from the previous post that info may help as well.

As for the errors you are having if clearing out the cache file does not resolve the problem you will need to clear your configuration folder. Here are links to the steps for both of these:

clearing the cache file
common_installation_issues.pdf

clearing the configuration
showpost.php?p=12293&postcount=2

Sign in to reply to this post

Ian

Thanks Eric,

I've had to roll with the PHP code (wish I had just used that in the first place rather than upgrading UE) to get this solution out to the client.

Downgrading to UE 3.0 did cause no end of problems though, especially with pages that I created with DFP and since updated when UE 4.0 was installed.

It made a right mess of things.

Note to others : If you start a project with a particular extension, stick with it for that project. Dont upgrade part way through, especially as extensions now seem to be getting 'bundled'.

No doubt you will hear from me on the next project I have to roll out with PHP on a windows box!

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