close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Advice on how to setup Universal Email settings

Thread began 4/14/2009 9:54 am by easterth369709 | Last modified 4/21/2020 7:06 am by daniel8395smith | 9270 views | 17 replies |

easterth369709

Advice on how to setup Universal Email settings

We have an exchange mail server. I am runing php, mysql and Apache on a linux box. I am trying to configure the mail settings in Universal mail in order for users to received email confirmation when submit button is pressed.

I used the example in the Universal mail documentation to see how it works with no luck.

Note: I tried both options "Mail and PEAR Mail using SMPT.

Do I need to configure Debian Linux mail server. I rather use our already mail server on campus. Thanks for any advice you can provide me.

Sign in to reply to this post

Ray BorduinWebAssist

Use Mail unless username and password are required for your smtp server. Most restrict by IP.

To debug, in the file mail_PHP.php... update the code where it says:

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

and add code afterward:

$mailObj = mail($mailTo,$mailSubject,$mailContent,$mailHeader);
var_dump($mailObj);
die();

That may tell you more about why the email won't send.

Sign in to reply to this post
Did this help? Tips are appreciated...

easterth369709

Advice on how to setup Universal Email settings

Hi Ray,

i am new in php, do you mind telling me where is the mail_php.php is located. is it on the linux box, dreamweaver, etc. Thanks for your prompt response too.

Sign in to reply to this post

Ray BorduinWebAssist

It is in the Universal Email directory in the root of your site.

Sign in to reply to this post
Did this help? Tips are appreciated...

easterth369709

Advice on how to setup Universal Email settings

Hi Ray,

The web browser now says bool(true) after I press the Submit button on the form i created.

Sign in to reply to this post

Ray BorduinWebAssist

That means the email was successfully sent to your SMTP server and no errors were recorded. You should have gotten the email unless it is blocked by a spam blocker.

Sign in to reply to this post
Did this help? Tips are appreciated...

easterth369709

Advice on how to setup Universal Email settings

I checked our campus firewall an it does not appear as blocked. I tested with my private email and nothing there either. Still no emails.

I appreciate your responses very much.

Sign in to reply to this post

Ray BorduinWebAssist

Try writing more information to the page like:


$mailObj = mail($mailTo,$mailSubject,$mailContent,$mailHeader );
var_dump($mailObj);
echo(" : ");
echo($mailTo);
echo(" : ");
echo("$mailHeader");
die();

Sign in to reply to this post
Did this help? Tips are appreciated...

easterth369709

Advice on how to setup Universal Email settings

This is the new message I am getting...no email coming thru. I even disabled the spam filter.

bool(true) : diazc1@mailbox.sc.edu : MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="WAMULTIBREAKWA" From: Carlos Diaz Reply-To: diazc1@mailbox.sc.edu X-Sender: Carlos Diaz X-Priority: 3 Date: Tue, 14 Apr 2009 15:39:07 -0400 (EDT) Return-Path: diazc1@mailbox.sc.edu Message-ID: <2aa110c88a9bc3ba0f63eab1fe3b77dd@mailbox.sc.edu>

Sign in to reply to this post

Ray BorduinWebAssist

Do you see anything wrong? I don't.

One more thing you might try... change the line of code in that same file:

$lineEnd = "\n";

change it to:

$lineEnd = "\r\n";

that could be the issue, but really it appears it should be working.

Sign in to reply to this post
Did this help? Tips are appreciated...
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...