close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

email not sending out

Thread began 10/10/2012 12:52 pm by ThosRM | Last modified 10/15/2012 7:16 pm by ThosRM | 1156 views | 7 replies |

ThosRM

email not sending out

I have inserted a Simple Contact form, apparently with success. However, the email is not sending out. I have set the outgoing mail server but it requires authentication. How is this accomplished?

Sign in to reply to this post

Jason ByrnesWebAssist

when using an SMTP Server that requires authentication, you need to use the Pear Mail for SMTP mail object.

open the server behaviors panel (Window -> Server Behaviors). In the server behaviors list, double click the Universal Email server behavior.

in the UE server behavior, click the envelope icon to get to the email server settings.

For the mail object, select to sue the Pear Mail for SMTP object, you can then specify your username and password to connect to the SMTP server.

Sign in to reply to this post

ThosRM

Thanks. I switched to Pear Mail but email is still not sending.

Sign in to reply to this post

Jason ByrnesWebAssist

Who is your host?

Do they support Pear Mail?

What is the SMTP server you are using?

What is the From Address you are using?

Is it a valid email address for your domain?

What is the To address you are using?

in universal email did you select a go to page? Does it redirect to the go to page?

Sign in to reply to this post

ThosRM

Host is Network Solutions and Pear mail is supported according to them.
SMTP server is smtp.allproglassshop.com, which is correct.
From address is <?php echo (isset($_POST["Email_Address"]))?$_POST["Email_Address"]:""); ?>
To address is my email address, which is valid.
It does redirect to the proper page.
Thanks.

Sign in to reply to this post

ThosRM

On Create Email Message: Mail Object Settings, I selected PEAR Mail using SMTP. I did not fill-in 'Path to PEAR', 'Port' and 'X-Mailer' as I don't know the proper values. Are these necessary?

Sign in to reply to this post

Jason ByrnesWebAssist

many SMTP servers require that the form address be a valid email address for your domain.

you may have to use a hard coded from address, if you go to the advanced from settings, you can use the dynamic email address for the reply to address.

The x-mailier is an optional setting, the port and path to pear amy or may not need to be entered, depends on the host.

on the email page, add the following at line 1 to turn on error reporting:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>



then on the thank you page, add this cod after the <body> tag:

php:
<pre><?php @session_start(); var_dump($_SESSION); ?></pre>




this will write the session contents to the page, to let us know if the email was successfully sent to the SMTP server or not.

Sign in to reply to this post

ThosRM

I switched from Pear mail to regular mail and the mails are being sent and received as expected. Not sure how I got off track onto Pear mail. Thanks.

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