close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Email Form Not Sending Emails

Thread began 2/08/2016 10:00 am by salaroche | Last modified 2/12/2016 1:30 pm by Ray Borduin | 588 views | 28 replies |

salaroche

Email Form Not Sending Emails

Hi:

I have created an email form that is supposed to send emails using the email addresses stored in a DB, but the form is not sending any emails. In the past I have successfully created similar email pages that still work today, but somehow I haven't managed to make this one work.

Please see private message below.

Sign in to reply to this post

Ray BorduinWebAssist

I can't seem to connect with your FTP information provided. Please confirm there are no typos or IP restrictions and I'll try again.

Sign in to reply to this post

salaroche

Ray:

I'm using FileZilla and I just connected again with no problem using the exact information I gave you.

Sign in to reply to this post

Ray BorduinWebAssist

You have your from address set to:"Accounts Department"

You will need to use an email address in the FROM field or your SMTP server won't send the email.

Sign in to reply to this post

salaroche

Ray:

I entered a valid Email Address in the FROM field but I'm still not getting any emails in my inbox. In consulting my Hosting service I also tried different SMTP parameters but still nothing. I also tried sending emails from another Website of mine, salaroche.com, that uses WebAssist and that one works fine. This looks like I still haven't configured this one well.

Would this mean that the TO field is not configured well? It's supposed to be drawing email addresses from the users table through the recordset "teachEmails".

Sign in to reply to this post

Ray BorduinWebAssist

It appears it could be an issue with your hosting provider.

I tried a simple email script to see if it sends:

php:
<?php

$to      
'ray@webassist.com';
$subject 'the subject';
$message 'hello';
$headers 'From: ray@webassist.com' "\r\n" .
    
'Reply-To: ray@webassist.com' "\r\n" .
    
'X-Mailer: PHP/' phpversion();

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



and I'm not getting an email from that either. Another technique that works on some servers is:

php:
<?php

mail
('ray@webassist.com''the subject''the message'null,
   
'-fray@webassist.com');
?>



but that isn't working either.

This points to configuration issues with your hosting. I'd contact them with these two scripts... until one of them works, our email script won't work either.

Sign in to reply to this post

salaroche

That's really curious because another Website of mine that uses a WebAssist email form is sending emails perfectly well. You can try it, if you wish, by going to www.salaroche.com > Contact and send me an email. I'm sure to get it.

I'll still contact my Hosting service in Ohio and consult with them again.

Thanks

Sign in to reply to this post

Ray BorduinWebAssist

Probably the sample script I sent you would send from that server as well. That evidence is consistent with my hypothesis that there is nothing actually wrong with your code.

I put up identical test pages on both sites... test them and see. You will have to change the TO address to yours, but I get the one on www.salaroche.com but not the one on payslip.salaroche.com.

The pages are exactly identical.

Sign in to reply to this post

salaroche

Ray:

It turns out that the company server where the program will finally be installed does not allow for sending emails outside its network. I'm trying to go around that impediment by linking the program to a Gmail account where there will be a pre-formatted email form that the chief accountant may send to the interested parties.

The small obstacle I have found is that the link opens the Gmail window in the same tab of the program (payslip) page.

Is there any code that I could add to the link so that the Gmail page opens in a separate tab?

Sign in to reply to this post

Ray BorduinWebAssist

I'm not sure how you are linking to it, but usually the answer is to add: target="_blank" in the link.

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