close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Not able to add universal email to a php page.

Thread began 6/18/2014 11:53 pm by Kumel | Last modified 6/21/2014 9:20 am by Jason Byrnes | 2251 views | 7 replies |

Kumel

Not able to add universal email to a php page.

I m unable to add universal to this form. please may i know why is that so?

you can take a look at it here as well: http://www.webgen.in/mentorsit/contact.php

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

Jason ByrnesWebAssist

Your question is too vague. Please provide more details.

What happens when you try to add universal email to your page?

Are you getting an error message?

The more details you provide in your questions, the better I can answer.

Sign in to reply to this post

Kumel

please check the screenshot attached. it doesn't have an option for submit as well as for entire form

Sign in to reply to this post

Jason ByrnesWebAssist

your closing the form inside the form tag by adding a "/" at the end:

<form name="ajax-form" id="ajax-form" action="" method="post" enctype="multipart/form-data" />

using the "/" to close the tag is only appropriate for tag types that don't have a companion closing tag such as the line break tag:
<br />

it should not be used for elements that do have companion closing tags like the form tag.

Sign in to reply to this post

Kumel

oh ok. i m facing another problem with same form. Form page is showing a error when i open.

Error:
found from source.
<b>Warning</b>: session_start() [<a href='plugins/function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /home/content/37/6662237/html/contact.php:1) in <b>/home/content/37/6662237/html/contact.php</b> on line <b>4</b><br />
<br />
<b>Warning</b>: session_start() [<a href='plugins/function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/content/37/6662237/html/contact.php:1) in <b>/home/content/37/6662237/html/contact.php</b> on line <b>4</b><br />


well page is attached!

Attached Files
Archive.zip
Sign in to reply to this post

Jason ByrnesWebAssist

change line 4:
if (!isset($_SESSION))session_start();

to:
@session_start();

Sign in to reply to this post

Kumel

seems fine. no errors. but email aint sending. even earlier it didnt

Sign in to reply to this post

Jason ByrnesWebAssist

To troubleshoot add the following code in the body of the page:

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

that will write the session contents to the page including the status of sending the email to the SMTP server.

If the status shows sending was successful, you will need to contact the host to determine why the email is not being relayed by the SMTP server.

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