close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Email not being sent

Thread began 5/21/2013 11:46 am by ncardoso429882 | Last modified 5/29/2013 8:40 am by Jason Byrnes | 2267 views | 19 replies |

ncardoso429882

Email not being sent

Hi, I seem to be stuck... my form writes to the database but then fails to send an email. I've attached the related files (let me know if you need others).

Here's the scenario... our email is managed within the organization with exchange. The website is on another server.

I have entered the basic info: from (an address with our domain), the to... from the recipient email field and subject. I uploaded all files. I don't get an error message. It writes to the DB and then doesn't seem to send. I've tried making the recipient my work email... and then thought that might be blocked so I changed it to my personal email address. Still nothing. let me know if you need more info from me.

Any help would be appreciated. Thanks a million

Sign in to reply to this post

Jason ByrnesWebAssist

you probably need to enter the SMTP Server address in Universal Email

on the server behaviors panel, double click the Universal Email server behavior to edit it, click the Envelope Icon to go to the SMTP Server settings panel, on this screen you can enter the SMTP Server address.

if the SMTOP Server requires authentication, then you will need to change the mail object to Pear Mail using SMTP, enable authentication and enter the user name and password.

If you are unsure of the SMTP Server address, or whether authentication is required contact the host.

Sign in to reply to this post

ncardoso429882

SMTP info from the sending server? So... from the host of the website? Or from our exchange server? Thanks for the quick reply

Sign in to reply to this post

Jason ByrnesWebAssist

the SMTP address for the exchange server.

Sign in to reply to this post

ncardoso429882

Just to clarify... the exchange server is in-house... our website where the page is and where people will submit from is on another server. Wouldn't the smtp info be from the sending server? Or... are you suggesting the exchange server because it needs to no it's a legit email? Thanks again

Sign in to reply to this post

Jason ByrnesWebAssist

I thought the Exchange server was the email server that was sending the email?

Whatever the email server that is being used to send the emails, you need to provide the SMTP server address to the Universal Email script.

the PHP server needs to know the SMTP server to pass the email to once it is compiled that is going to relay it to the recipient.

Sign in to reply to this post

ncardoso429882

Hi, so I've now moved to PEAR email. I originally had some issues but it seemed related to the PEAR path. That seems to be resolved now but one thing still seems to be sticky. when I submit the page I get this error: Fatal error: Class 'Net_SMTP' not found in /home/mhhosp/php/Mail/smtp.php on line 349

I contacted our host and he said:
This error indicates that you do not have the Class 'Net_SMTP' available to PHP. This plugin is called in /home/mhhosp/php/Mail/smtp.php on line 349 but is not available to your PHP for the moment. It will need to be installed for a script using it to be able to work.

Then he check, saw it there but reloaded it.

I still get the same message. Any help you can provide? I'm attaching files that may help.

Thanks a million
Nelson

Sign in to reply to this post

Jason ByrnesWebAssist

This is a server configuration issue, i will not be able to assist in correcting a server configuration issue. It sounds to me that the installation of the Pear Mail package on the server is not correctly completed. This will need to be fixed by the host.

Sign in to reply to this post

ncardoso429882

Hi Jason, they (hosting company) have reinstalled and I'm no longer getting the error. It goes to the final page without error and the fields get written to the DB with no problems. The problem is the email still doesn't go out. Thoughts?

Sign in to reply to this post

Jason ByrnesWebAssist

On the redirect page, add the following code near the closing </body> tag. This will tell us whether the email is being passed to the SMTP Server or not:

php:
<?php @session_start(); var_dump($_SESSION); ?>
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...