close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

How do I troubleshoot lack of emial

Thread began 1/18/2011 6:05 am by Justin@AdventDesign | Last modified 1/31/2011 11:09 am by Jason Byrnes | 4712 views | 15 replies |

Justin@AdventDesign

How do I troubleshoot lack of emial

I've used UE in the past without incident, but I'm having trouble with this particular site. Created the form and added UE several times. Appears to work properly and go to my thank you page, but never received the email. Tried multiple addresses, checked junk filters, etc but nothing.

Found on another thread to insert the following code on thank you page:
<?php
@session_start();
var_dump($_SESSION);
?>

Did so. In the lengthy return after sending I do find ["waue_test_2_Log"]=> string(52) "Sending To: test@icmproducts.com... - Failure

I assume that is showing me the failure to send the email, but how do I troubleshoot from here to track down the problem?

The forms can be accessed at the following addresses:
index.php
test.php

Here's the full return from the string above:

--WAMULTIBREAKWA-- " ["waue_index_1_Header"]=> string(377) "MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="WAMULTIBREAKWA" From: justin@justingraber.com Cc: justin@justingraber.com Reply-To: justin@justingraber.com Return-Path: justin@justingraber.com X-Sender: justin@justingraber.com X-Priority: 3 Date: Tue, 18 Jan 2011 06:42:56 -0700 (MST) Message-ID: <1388133758.53dd9c6005f3cdfc5a69c5c07388016d@justingraber.com> " ["waue_index_1_Status"]=> string(7) "Failure" ["waue_test_2_Total"]=> int(0) ["waue_test_2_Index"]=> int(0) ["waue_test_2_Remaining"]=> int(0) ["waue_test_2_Log"]=> string(52) "Sending To: test@icmproducts.com... - Failure
" ["waue_test_2_From"]=> string(20) "form@icmproducts.com" ["waue_test_2_To"]=> string(20) "test@icmproducts.com" ["waue_test_2_Subject"]=> string(34) "Contact from ICM Products Web Site" ["waue_test_2_Body"]=> string(5600) " --WAMULTIBREAKWA Content-Type: text/plain Content-Transfer-Encoding: 8bit Your Email Title Goes Here email subtitle area or directions can go here, below the title Form Submitted: 1-18-2011 | 6:44 AM MST Company: Advent Deisgn Name: Justin Graber Phone: 574-304-0454 Email: justin@justingraber.com Body: Test message Submit: Send Message Additional Notes: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec eget tellus sed justo rhoncus posuere id sit amet arcu. Morbi pretium, enim faucibus facilisis hendrerit, elit. Morbi quis sodales ligula. Pellentesque elementum faucibus elementum. Sed rutrum dui in nisi dapibus molestie. Sed dictum ultricies viverra. In non urna vel nisi dictum tincidunt facilisis nec enim. In vitae lectus mauris. Mauris id sem non risus aliquam pretium at ac ipsum. Cras ac ultrices nisi. Cras ultricies ultricies bibendum. Duis vitae aliquam erat. Nullam justo augue, mattis quis ultricies in, posuere sed tortor. Aenean ornare orci nec felis semper vitae interdum velit ultrices. Ut auctor congue tellus in hendrerit. Aliquam et massa hendrerit leo sodales dapibus non ultricies mi. Morbi non tellus bibendum quam elementum bibendum sit amet vel metus. --WAMULTIBREAKWA Content-Type: text/html
Your Email Title Goes Here

email subtitle area or directions can go here, below the title
Form Submitted: 1-18-2011 | 6:44 AM MST
Company: Advent Deisgn
Name: Justin Graber
Phone: 574-304-0454
Email: justin@justingraber.com
Body: Test message
Submit: Send Message
Additional Notes:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec eget tellus sed justo rhoncus posuere id sit amet arcu. Morbi pretium, enim faucibus facilisis hendrerit, elit. Morbi quis sodales ligula. Pellentesque elementum faucibus elementum. Sed rutrum dui in nisi dapibus molestie. Sed dictum ultricies viverra.

In non urna vel nisi dictum tincidunt facilisis nec enim. In vitae lectus mauris. Mauris id sem non risus aliquam pretium at ac ipsum. Cras ac ultrices nisi. Cras ultricies ultricies bibendum. Duis vitae aliquam erat. Nullam justo augue, mattis quis ultricies in, posuere sed tortor. Aenean ornare orci nec felis semper vitae interdum velit ultrices. Ut auctor congue tellus in hendrerit. Aliquam et massa hendrerit leo sodales dapibus non ultricies mi. Morbi non tellus bibendum quam elementum bibendum sit amet vel metus.
--WAMULTIBREAKWA-- " ["waue_test_2_Header"]=> string(364) "MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="WAMULTIBREAKWA" From: form@icmproducts.com Cc: justin@justingraber.com Reply-To: form@icmproducts.com Return-Path: form@icmproducts.com X-Sender: form@icmproducts.com X-Priority: 3 Date: Tue, 18 Jan 2011 06:44:11 -0700 (MST) Message-ID: <1162689774.3fcdb73d36d54f2cc22d0f68e6b6e182@icmproducts.com> " ["waue_test_2_Status"]=> string(7) "Failure" }

Sign in to reply to this post

Jason ByrnesWebAssist

can you send a copy of the test.php page so i can take a look at the code. also the webassist/email folder would help.

Sign in to reply to this post

Justin@AdventDesign

See attached pages

See attached for requested files. Thanks!

Attached Files
universal email files.zip
Sign in to reply to this post

Jason ByrnesWebAssist

it looks like the the SMTP Server and Port are left blank in the universal email settings, in many cases this can work, it will just use the php.ini settings instead, but I dont think this will work for you.

Who is your hosting account with? You should check wit them to see if they support sending emails a php script and the php mail() function. also double check wit them what SMTP server to use, and port number.

Sign in to reply to this post

info105077

non delivery of email

Hi,

is your hosting provider godaddy by any chance because I've been chasing this problem all day and emails are coming in very slowly with occasionally earlier mails arriving after recent ones (if that makes sense) average time 3/4 hour with smtp server details added to UE

Sign in to reply to this post

Justin@AdventDesign

Host

Host is Brinkster.com. I've used this script with them before, and indeed use it on another site without incidence.

Sign in to reply to this post

Jason ByrnesWebAssist

in the webassist/mail/mail_php.php file, find the following code:

php:
if ($mailObj)  {

            $_SESSION[$mailRef."_Status"] = "Success";
            $_SESSION[$mailRef."_Log"] .=  "Success <br>\n";
        }
        else  {
            $_SESSION[$mailRef."_Status"] = "Failure";
            $_SESSION[$mailRef."_Log"] .=  ( (isset($_SESSION[$mailRef."_Error"])) ? $_SESSION[$mailRef."_Error"] : "" ). " - Failure <br>\n";
        }




and change it to:

php:
if ($mailObj)  {

            $_SESSION[$mailRef."_Status"] = "Success";
            $_SESSION[$mailRef."_Log"] .=  "Success <br>\n";
        }
        else  {
            $_SESSION[$mailRef."_Status"] = "Failure";
            $_SESSION[$mailRef."_Log"] .=  ( (isset($_SESSION[$mailRef."_Error"])) ? $_SESSION[$mailRef."_Error"] : "" ). " - Failure <br>\n";
        }
                echo($mailTo." - ".$_SESSION[$mailRef."_Status"]."<br />");





this will write the to address to the screen and the status of sending the message to the SMTP server.

If the status is success, then message has been sent to the smtp server to be relayed.

if the mail is not coming through, then you will need to contact the host to have them look into the SMTP server error logs to see why the SMTP server is not relaying the message.

Sign in to reply to this post

Justin@AdventDesign

More info

Thanks Jason. I will do that but in the mean time this may shed some more light on the situation. The host tech support wasn't much help but kept pointing me to their own phpmailer script and from the looks of that this is what I've gathered:

SMTP server is mymail.brinkster.com
It requires SMTP authorization with a username and password.

Sign in to reply to this post

Jason ByrnesWebAssist

well if the smtp server requires authentication, then you need to use the Pear Mail For SMTP server mail object in Universal Email.

the regular mail object does not allow for passing a username and password.

Sign in to reply to this post

Justin@AdventDesign

The results

This is what the page returned when I changed the script you cited...

justing@advent-design.com - Failure

Are there instructions for how to use "Pear Mail" somewhere?

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