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

UE email not sending

Thread began 4/20/2010 1:40 am by lejohnson01403530 | Last modified 4/21/2010 9:29 pm by Eric Mittman | 1470 views | 11 replies |

lejohnson01403530

UE email not sending

I have spent the last two hours trying to add a email with UE to the attached contact_us.php file with no luck. I am doing the same thing in another file and it works. But no luck with this file. Can you take a look and see if you can see a problem in the code somewhere?

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

neilo

Hiya,

Can't find anything in the zip!

Sign in to reply to this post

lejohnson01403530

Here is the zip again. Don't know what happened before.

Attached Files
contact us UE problem.zip
Sign in to reply to this post

Ian

Server and Port Number

Hi,

Are you server and port number correct?

SMTP usually uses 25, 21 is usually reserved for FTP.

Also, your email server address is lanejmus.startlogic.com, but this is your web site, not your mail server.

Thanks
Ian

Sign in to reply to this post

lejohnson01403530

These settings are what my host told me to use for the smtp server and port. I am using these same settings in another file and it works fine.

Does everything else in the files I sent look OK?

Sign in to reply to this post

Eric Mittman

You say that you use these in another file and it works, could you post back with the working one so that we can compare it to this one.

Sign in to reply to this post

lejohnson01403530

Attached are the files that work. Thanks for taking a look at this.

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

lejohnson01403530

There are two main differences between the way the email is structured for each file:

1) the one that works is looping through a set of user emails from a recordset and is pulling the data for the email from hard coded text along with text pulled from a recordset.

2) the one that is not working is pulling all data from the contact form using $_POSTed values.

Sign in to reply to this post

lejohnson01403530

I just got off a chat with my hosting service (StartLogic). They confirmed that the previous person I talked to was wrong and that I should be using either port 25 or 587. However, I made that switch and now I am getting worse results. The email is either not going through, or if it does, it is taking a VERY long time (15-20 mins) to arrive in my inbox. I created a new file and started from scratch and am getting the same results...no email or taking forever (both results). However, the music_alert.php file (which I uploaded earlier) works like a charm every time (even after changing to port 25). There must be something I am doing wrong. or UE is buggy or something. Please HELP! I really need to get this solved. This is the last piece keeping me from launching the site.

THANKS for any help!

Sign in to reply to this post

Eric Mittman

If you are now getting the emails but only sporadically it would indicate that you settings and the UE code are working as they should. It could be possible that the addresses you are testing with might be a part of the problem, to eliminate this possibility you should make sure to test the same addresses with both the working and not working one. You can also test the emails that are being used in the sporadic one with the UE server behavior that is working consistently. This should let you know if there is a problem with the email addresses being used.

Another thing you could try would be to hard code a value for the email address and test with it like this. Maybe the page is not posting the email address value consistently.

Please try these things out and let us know. In the end of the process UE is calling the PHP mail() function. So long as it is getting to this point the UE code is working as it should.

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