close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

upload form email verification

Thread began 1/21/2014 10:06 am by pat356751 | Last modified 1/21/2014 12:18 pm by Jason Byrnes | 1599 views | 7 replies |

pat356751

upload form email verification

I'm trying to use Create Email Message to verify the upload was successful via email. Should the trigger be "Any Upload Successful" and the To field contain <?php echo $row_SecurityAssistusers['UserEmail']; ?> to send the user an email verification?

Sign in to reply to this post

Jason ByrnesWebAssist

yes, to send the email if an an upload is successful, the trigger should be "Any Upload Successful".

as for the to address, using:
<?php echo $row_SecurityAssistusers['UserEmail']; ?>

that would assume that there is a recordset named SecurityAssistusers that is properly configured to return the users email address.

Sign in to reply to this post

pat356751

For some reason email verification isn't working. Can someone look at the attached file and see if there are any code errors that can cause this problem?

Thanks,

Attached Files
userupdate.php
Sign in to reply to this post

Jason ByrnesWebAssist

i dont see an obvious error. to help troubleshoot, add the following code to the success page:

<?php @session_start(); var_dump{$_SESSION); ?>

this will write the session contents to the success page, post this back

if you change the email trigger to any form post does it work?

Sign in to reply to this post

pat356751

I get a blank success page with the added code.

Sign in to reply to this post

Jason ByrnesWebAssist

sorry, typing to fast, the correct code is:

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

Sign in to reply to this post

pat356751

It doesn't work with any form post. The success page posted:

array(25) { ["WAENCRYPTEDRETURNUSED"]=> bool(false) ["WAENCRYPTEDRETURNSUCCESS"]=> bool(false) ["Last_CAPTCHA"]=> int(1390333740) ["captcha_Security_Code"]=> string(5) "MAr6z" ["registration_upload"]=> string(0) "" ["waue_registration_1_Status"]=> string(7) "Success" ["waue_registration_1_Index"]=> int(1) ["waue_registration_1_From"]=> string(13) "tsec@mtsu.edu" ["waue_registration_1_To"]=> string(0) "" ["waue_registration_1_Subject"]=> string(21) "Registration Complete" ["waue_registration_1_Body"]=> string(6793) " --WAMULTIBREAKWA Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Registration is complete tsec@mtsu.edu Form Submitted: 1-21-2014 | 1:50 PM CST Registration group Email: pat.govan@mtsu.edu Registration group Password: Asdfg13 Registration group Confirm: Asdfg13 Registration group First Name: pat Registration group Last Name: govan Registration group Address: 326 Registration group Address 2: adfgg Registration group City: mboro Registration group State: tn Registration group 10 Zip: 37130 Registration group 11 Country: United States Registration group 1 Phone: 123456789 Registration group 1 Fax: Hidden Field: Registration submit: Register Additional Notes: You can upload an update your files anytime at http://stem29.mtsu.edu/tsec/userupdate.php . --WAMULTIBREAKWA Content-Type: text/html; charset="UTF-8"
Registration is complete
tsec@mtsu.edu
Form Submitted: 1-21-2014 | 1:50 PM CST
Registration group Email: pat.govan@mtsu.edu
Registration group Password: Asdfg13
Registration group Confirm: Asdfg13
Registration group First Name: pat
Registration group Last Name: govan
Registration group Address: 326
Registration group Address 2: adfgg
Registration group City: mboro
Registration group State: tn
Registration group 10 Zip: 37130
Registration group 11 Country: United States
Registration group 1 Phone: 123456789
Registration group 1 Fax:
Hidden Field:
Registration submit: Register
Additional Notes:
You can upload an update your files anytime at http://stem29.mtsu.edu/tsec/userupdate.php .
--WAMULTIBREAKWA-- " ["waue_registration_1_Header"]=> string(400) "MIME-Version: 1.0 Content-Type: multipart/alternative; charset="UTF-8"; boundary="WAMULTIBREAKWA" From: tsec@mtsu.edu Cc: tsec@mtsu.edu Bcc: pat.govan@mtsu.edu Reply-To: tsec@mtsu.edu Return-Path: tsec@mtsu.edu X-Sender: tsec@mtsu.edu X-Priority: 1 Date: Tue, 21 Jan 2014 13:50:19 -0600 (CST) Message-ID: <1699083281.635f249a254bf4e0d4665fc739c64913@mtsu.edu> Organization: tsec X-Mailer: php script " ["waue_registration_1_Log"]=> string(29) "Sending To: ... Success
" ["WAVT_registration_Errors"]=> string(0) "" ["SecurityAssist_UserID"]=> int(47) ["WAVT_userupdate_Errors"]=> string(0) "" ["userupdate_uploadfile"]=> string(57) "GEGardner Abstract STEM Ed Research Conference MTSU_3.doc" ["waue_userupdate_1_Status"]=> string(7) "Success" ["waue_userupdate_1_Index"]=> int(1) ["waue_userupdate_1_From"]=> string(20) "TSEC " ["waue_userupdate_1_To"]=> string(18) "pat.govan@mtsu.edu" ["waue_userupdate_1_Subject"]=> string(28) "Verification and upload Form" ["waue_userupdate_1_Body"]=> string(3792) " --WAMULTIBREAKWA Content-Type: text/plain Content-Transfer-Encoding: 8bit Received Upload File Form Submitted: 1-21-2014 | 2:18 PM CST User Update group UserEmail: pat.govan@mtsu.edu User Update group UserPassword: Asdfg13 User Update group Confirm: Asdfg13 UserUpdate submit: Upload Your file has been recieved. You can upload an update your files anytime at http://stem29.mtsu.edu/tsec/userupdate.php . Thanks. --WAMULTIBREAKWA Content-Type: text/html
Received Upload File
Form Submitted: 1-21-2014 | 2:18 PM CST
User Update group UserEmail: pat.govan@mtsu.edu
User Update group UserPassword: Asdfg13
User Update group Confirm: Asdfg13
UserUpdate submit: Upload
Your file has been recieved. You can upload an update your files anytime at http://stem29.mtsu.edu/tsec/userupdate.php .
Thanks.
--WAMULTIBREAKWA-- " ["waue_userupdate_1_Header"]=> string(356) "MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="WAMULTIBREAKWA" From: TSEC Cc: tsec@mtsu.edu Bcc: pat.govan@mtsu.edu Reply-To: tsec@mtsu.edu Return-Path: tsec@mtsu.edu X-Sender: TSEC X-Priority: 1 Date: Tue, 21 Jan 2014 14:18:52 -0600 (CST) Message-ID: <683607874.635f249a254bf4e0d4665fc739c64913@mtsu.edu> " ["waue_userupdate_1_Log"]=> string(47) "Sending To: pat.govan@mtsu.edu... Success
" }
Thank you for the update.

Sign in to reply to this post

Jason ByrnesWebAssist

the status says it was passed to the SMTP server successfully:

["waue_userupdate_1_Log"]=> string(47) "Sending To: pat.govan@mtsu.edu... Success

in the email settings, what did you enter for the SMTP server?

Who is your host?

Depending on your host, you may need to set certain options in Universal Email.

Some hosts will work if you leave the SMTP Server setting on the Email Server Tab blank, others will require that you enter the SMTP server address.

Some will work using the standard Mail protocol, other will require that you use the Pear Mail for SMTP, some using Pear mail will require authentication.

Some hosts may require that the from address being used be a valid email address for your domain. Some may require that the option to include the from Email address be passed as an extra parameter.

To be successful with Universal Email, you will need to know the requirements of your host for sending an email using a PHP script.

Also, double check your Spam folder, it is possible that the email is being trapped as spam.

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