close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

universal email and php

Thread began 1/12/2010 9:27 am by chrishales96195 | Last modified 1/13/2010 12:35 pm by Jason Byrnes | 944 views | 3 replies |

chrishales96195

universal email and php

i have used univ email for years in asp environment now I have a unix server and am having troubles receiving the email.

They run cpanel and I clicked on the paer icon this is what I got:

Location of Your PHP Extension(s) and Application(s)

Path: /home/chrishal/php

So here is my script can you tell me what I am doing wrong

Attached Files
Desktop.zip
Untitled.zip
Sign in to reply to this post

Jason ByrnesWebAssist

1) double check the trigger you are using. You have selected Currant page submit, but there is no form on this page. It looks another page submits to this page, you will need to use either the any form post or before page loads triggers.


2) Are you sure "localhost" is the correct way to refer to the smtp server? double check with the host for the correct smtp server name.


3) usually Pear Mail for SMTP is used when the SMTP server requires authentication, but you have not added a user name and password.

Sign in to reply to this post

chrishales96195

now I get:


Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/chrishal/public_html/bayplotter.com/WA_Universal_Email/WAUE_thanksreqproducts_1.php on line 9

Attached Files
bayplotter.com.zip
Sign in to reply to this post

Jason ByrnesWebAssist

You have a bad value for the from address in the WAUE_thanksreqproducts_1.php file. Change line 9:

php:
$MailFrom        = "<?php $email $_REQUEST['email'] ;?> ";




to:

php:
$MailFrom        = "".((isset($_POST["email"]))?$_POST["email"]:"")  ."";
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...