close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Email not arriving

Thread began 2/10/2010 6:46 am by stevenc330599 | Last modified 2/22/2010 2:47 pm by Eric Mittman | 2543 views | 7 replies |

stevenc330599

Email not arriving

I am trying to replace Adobe's Developer Toolbox email functions on various forms with the Contact Form Solution Pack. However, though I can send forms by email using Adobe's DT those from the CFSP never arrive. The CFSP form works perfectly and moves to the 'thank you' page without any problems. I have checked my SPAM folders and the forms are not getting caught there.

I assume the issue is with the mail settings. Those that work in Adobe's DT are:

$tNG_email_host = "localhost";
$tNG_email_user = "";
$tNG_email_port = "25";
$tNG_email_password = "";

I have put $WAGLOBAL_Email_Server = "localhost" ; in the 'WA_Globals.php' file and in the 'WAUE_contact_1.php' file there already was the line:

$WA_MailObject = WAUE_Definition("".($WAGLOBAL_Email_Server) ."","25","","","","");

I presume that this is what I must tinker with, but how do?

Thanks,

Steven.

Sign in to reply to this post

neilo

Try leaving the $WAGLOBAL_Email_Server setting blank:

$WAGLOBAL_Email_Server = "" ;

For many (most?) hosts, this is all that is required. Try that and post back if you still have problems.

Sign in to reply to this post

stevenc330599

Neilo,

Thanks, but as I should have mentioned I started with > $WAGLOBAL_Email_Server = "" ; <
as it states in the manual. When the test emails did not arrive I then, after checking the SPAM filters, went into the ADT to find its settings and mirrored those in the CFSP.

Ideas for Plan "C" would be appreciated!

Thanks,

Steven.

Sign in to reply to this post

Eric Mittman

We can do a check to see if it is getting the the mail call that is sending the email. In Unviversal Email > mail_PHP.php do a search for the following line of code:

php:
$mailObj = mail($mailTo,$mailSubject,$mailContent,$mailHeader);



It should be around line 254

Just after this line of code add in the following die statement so that the values used in the email will be printed to the screen:

php:
$mailObj = mail($mailTo,$mailSubject,$mailContent,$mailHeader);

  die("mail sent to the server with the following values: " . $mailTo . " " . $mailSubject . " " . $mailContent . " " . $mailHeader);



Give this a try and let us know what the result is, this will help us to determine if the mail is being sent to the mail server or if there is a failure that occurs before this.

Sign in to reply to this post

stevenc330599

After making the code modification the form submitted and went straight to the 'thank you' page. 30 minutes later still no email from the website.

I then experimented again with changes to the "$WAGLOBAL_Email_Server" value.

I tried:

1. "" (as per instructions and Neilo)
2. "localhost" (as per Adobe DT)
3. "mail.domainname.com" as this is the Mail Server Name given to me by the hosting ISP.

The other details from the hosting ISP are:

POP3 + Imap Server = diabled
Spam filtering = disabled
MailSscanner / Virus Scanner = disabled

Thanks for your help so far and I await further instructions,

Steven.

Sign in to reply to this post

Eric Mittman

Based on the fact that you did not see any debugging output at all it tells me that the code for sending the email might not be getting executed. To check on this and determine what that might be I have opened a ticket for you on this issue. To update the ticket login to the site and visit your support history.

Sign in to reply to this post

stevenc330599

Problem solved! My page had in the HTML:

<form class="Sharp_Default" id="SimpleContact_Sharp_Default" name="SimpleContact_Sharp_Default" method="post" action="thankyou.php">

(note the action="thankyou.php") which meant on submission the form was bypassing the php email triggers.

HTML changed to:

<form class="Sharp_Default" id="SimpleContact_Sharp_Default" name="SimpleContact_Sharp_Default" method="post" action="">

and the email began arriving.

Sign in to reply to this post

Eric Mittman

Thanks for getting this update on the forum, hopefully it can help someone else with the same issue.

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