No email being sent after completion of form

Hi
Can someone please help!!
I am setting up a survey form form which is uploaded to http://www.mentalhealthstrategies.co.uk/survey.html
The only thing is once it is filled in and submitted, the 'thank you' page is loaded but I am not receiving any email to give me the details.
My CGI script is as below. Can someone please tell me what I have done wrong. I am quite new to scripting and I am not sure what to do next.
#!/usr/bin/perl
use CGI::Carp qw(fatalsToBrowser);
if ($ENV{'REQUEST_METHOD'} eq 'POST') {
read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
@pairs = split(/&/, $buffer);
foreach $pair (@pairs) {
($name, $value) = split(/=/, $pair);
$value =~ tr/+/ /;
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
$FORM{$name} = $value;
open (MESSAGE,"| /usr/sbin/sendmail -t");
print MESSAGE "To: julie.mak\@mentalhealthstrategies.co.uk \n";
print MESSAGE "From: " . $FORM{name} . ", reader\n";
print MESSAGE "Subject: Feedback from $FORM{name} \n\n";
print MESSAGE "Organisaion: $FORM{mail} \n\n";
print MESSAGE "Question 1:  $FORM{question1} \n\n";
print MESSAGE "Question 2:  $FORM{question2} \n\n";
print MESSAGE "Question 3:  $FORM{question3} \n\n";
print MESSAGE "Question 4:  $FORM{question4} \n\n";
print MESSAGE "Question 5:  $FORM{question5} \n\n";
print MESSAGE "Question 6:  $FORM{question6} \n\n";
print MESSAGE "Question 7:  $FORM{question7} \n\n";
print MESSAGE "Question 8:  $FORM{question8} \n\n";
print MESSAGE "Question 9:  $FORM{question9} \n\n";
print MESSAGE "Question 10:  $FORM{question10} \n\n";
print MESSAGE "Sent by: $FORM{name}\n";
close (MESSAGE);
&thank_you;
sub thank_you {
print "Content-type: text/html\n\n";
print <<EndStart;
<html>
<head>
<title>Thank You</title>
</head>
<body bgcolor="#dae7a2" text="#000000">
<h1>Thank You</h1>
<p>Your survey has been received. Thanks for taking the time to answer it.</p>
<hr>
EndStart
print <<EndHTML;
</body>
</html>
EndHTML
exit(0);
Thanks in advance
Jules1777

Originally Posted by gregd06082
Hello-
I am a newbie and I have created a form that is to be filled out and submitted upon completion. I have yet to figure out workflow so that it actually works but in the meantime I have added a user list where the user can type the name of the person that the form needs to go to next. When I add the person's name in this field and click OK to submit, she does not get notified. Not sure what I am doing wrong.
Greg
You have to set up a workflow notification when defining your workflow. Check out the Novell Vibe Advanced User Guide about workflows: Novell Doc: Novell Vibe 3.3 Advanced User Guide - Creating a Simple Workflow
HTH
Erik

Similar Messages

  • How to stop an email from being sent after I hit send?

    How can I immediately stop an email from being sent after clicking "send"?
    I can't seem to find any info on this. I am assuming that it is impossible. Correct?

    When sending the emails with larger attachments that take a little time to actually upload and get out, you can open the activity viewer by pressing command-0 (or is it command-o?--)--it may also be under the window menu at the top--I'm not at my Mac right now to check. The activity viewer has a stop button on it. After you stop it, you should be able to either delete the email from the outgoing mail folder or drag that email to another folder, such as the drafts folder. I've done this a few times without a problem.

  • Email being sent multiple times when actions are triggered after creating an incident. Anyone has a resolution?

    Email being sent multiple times (3 times) when actions are triggered after creating an incident.
    Below is the snip of "Scheduled Actions" of the created Incident.

    Hi Ritesh
    Email is triggered based upon conditions and you set
    on closer look it is 3 different email on three 3 different requirement for e.g
    email triggered to reporter on new status
    email trigerred to processor on Proposed solution and New status
    Therefore, check the start condition for above 2 email actions and refer below blog
    Sending E-Mail from Support Message
    Thanks
    Prakhar

  • Problems printing a converted PDF which was converted to Word after completing the form

    Problems printing a converted PDF which was converted to Word after completing the form.  I have spent the last 3 hours trying to figure out what I am doing incorrectly.  I can't get it to print in either the PDF or Word file.  Please help, I need to complete this form and sent it NJ Department of Motor Vehicles Commission.

    Hi, make sure you are using the latest release of PDF program.
    Please mark the post that solves your issue as "Accept as Solution".
    If my answer was helpful click the “Thumbs Up" on the left to say “Thanks”!
    I am not a HP employee.

  • Diagnostic and usage still being sent after shutting it off

    My Mountain Lion workstation is still sending Diagnostic and usage information after I have shut that option off. It includes contact information. How can I prevent this without using the gui?

    Unfortunately this is  not thwarted case as I stated in thelog it is still sending and I m able to confirm this through the network as ssl to network 10.x.x.x apples network
    Sent from Samsung MobileApple Support Communities Updates <[email protected]> wrote:                                              
    You received a reply
    dwbrecovery has replied to your question. You can view the full discussion in Apple Support Communities.
    Diagnostic and usage still being sent after shutting it off
    Hi,
    - SubmitDiagInfo does run periodically to clean up any diagnostic and usage info created a month ago and is no longer needed.
    - Since you have set no reporting, SubmitDiagInfo will not collect and send to Apple diagnostic info. not yet sent.
    https://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/ man8/SubmitDiagInfo.8.html
    Hope this helps
    Correct Answer
    Helpful Answer
    Use the buttons above to tell dwbrecovery and the rest of the community if this reply solved your question or helped you get closer to finding a solution.
    To reply to dwbrecovery, go to the discussion in Apple Support Communities.
    You are receiving this email from Apple Support Communities. You can change your email preferences in your Apple Support Communities Profile.
    TM and copyright © 2014 Apple Inc. 1 Infinite Loop, MS 96-DM. Cupertino, CA 95014.
    All Rights Reserved | Privacy Policy | Terms of Use | Apple Support

  • I am automating the process of sending appointment reminders to my clients. I started with an alert with an email in calendar using the clients email address as a custom entry in my me card in my contacts. this was resulting in three emails being sent wit

    I am automating the process of sending appointment reminders to my clients. I started with an alert with an email in calendar using the clients email address as a custom entry in my me card in my contacts. this was resulting in three emails being sent with slightly different versions of the same address (see my previous post). Heating someone else's suggestion I created a workflow file to send an email and calling that file from an alert on my calendar. This is working and sends only one email to the client.
    My calendar is on I cloud and I access it from three different computers so I can keep my appointment calendar current. The files that send the email only exist on one computer. My other computers show error messages when those emails get sent. It seems that each computer wants to send the email. It's a small problem but is there a way that I could not get those alerts.
    But appreciate any thoughts about this. It seems like both problems might be related to the iCloud system.
    Thank you in advance,
    Michael

    Good work, catch so far Michael, does seem to be a "feature" of iCloud syncing, not sure what you could do to disable it.

  • I unplug my MacBook Pro from power and external speaker and I hear incremental beeps and sounds as if email being sent. Doesn't' stop until I close email

    I unplug my MacBook Pro from power and external speaker and I hear  incremental beeps and sounds as if email being sent. Doesn't' stop until I close email.   Not sure what is happening our what if any emails are being sent.

    You can install Temperature Monitor and have a look if the CPU oder GPU oder something else went to hot. The processor has a built in safety mechanism to shut down the computer before taking damage.

  • HT201774 How do I reduce the amount of email being sent to my iPhone 5 with iOS 7.0?

    How do I reduce the amount of email being sent to my iPhone 5 with iOS 7.0

    As I delete email more mail populates on the phone.

  • There are unauthorised emails being sent from my emails accounts. This started recently following my iOS update to 5.0.1. Is this an iCloud hacking issue?

    There appears to be emails being sent out to random contacts from my shared address book with dubious content none of which were sent by me. I believe this was sent by unauthorised hacker from iCloud as the contacts are not even in my personal contact list, but came from my wife's contact list which have been shared via iCloud. Is there security breach issue with iCloud?

    I have the same situation (there seems to be lots of emails sent through my Icloud account. I don't see those emails in my "sent" folder, but I can see plenty of email (Chinese spam emails) bounced back into my account stating that I have exceded the sending limits. I cannot send anything either from my account (of course, the sending limit is alwasy exceeded). I have also changed twice my password, but the issue remains.
    Any clues?
    I am really surprised at this. I was from the begining with .Mac, and never had any issue during all these years. This is now with Icloud, which should be safer and better  :-(

  • Previously deleted emails being sent to my phone

    Replaced my old 3gs with a new 4. Set up my email account (BT). Started to get old, previously deleted emails being sent to my phone. Hundreds of the things. Please help.

    What kind of email account is this? Generally this only happens with accounts that you sync with Outlook. There is a setting in Outlook to add them. Most other mail clients will display a suggested list from previously written email, but will not automatically add them to the contact list.
    Are you actually seeing them in the contact list, or is it just that when you go to type another name in with a similar starting letter you are seeing the name? The iPhone keeps this in a cache in case you want to use them again, but they delete eventually. Or, you can delete them by starting the email out, then tapping on the to the end of the address and then deleting the suggestion.

  • Send email to users after completion of conc program by using Alerts

    Hi,
    I want to send email to users after completion of concurrent program by using Alerts . please guide me how to create alert and should send email of concurrent program details to user.
    Thanks in advance..it's a urgent requirement so help me.
    Regards
    Narender B

    Application Express != Oracle Applications
    You got into wrong forum please add here {forum:id=475}

  • Why are my emails being sent as "Apple Inc" and how do I change it?

    Why are my emails being sent as "Apple Inc" and how do I change it?

    See:
    iOS: Wi-Fi or Bluetooth settings grayed out or dim
    If not successful, an appointment at the Genius Bar of an Apple store is usually in order.
    Apple Retail Store - Genius Bar

  • More Spam emails being sent from My Account again?

    Despite changing my password and security several times from a clean PC, delteing all emails from my BT account regularly including sent items and spam folders and trash folders.  
    At least a dozen or more friends and collages are still getting regular spam emails from my account.   I do not store any contacts in the webbased interface and don't even use the account these days so I "presume" that there is nothing I can do my end to stop theses emails being sent out from "somebody else".
    Any suggestions welcome.
    DomB
    (One of many reasons I left BT).

    Your account was probably hacked sometime back along with many others and your contact list will have been harvested by spammers. The list is now available to the spammers to use at any time they wish.
    When they send spam to your contacts they are not sending them from your email account but rather they have spoofed your email address to make it appear it is from your account so that it fools your contacts into opening the spam.
    What you need to do is create a new email address, use one of your sub-accounts and then tell all your contacts that your "old" email address has been compromised and that they should treat any emails from it as spam and  delete them without opening them.
    Once you have done that, if you still have a BT account, you can then change your "New" email address to become your BTID and primary email account by logging into your MyBT and going to My Profie and changing the contact email address and username to your "new" email address.
    See link about spoofed emails addresses.
    http://en.wikipedia.org/wiki/Email_spoofing

  • Ironport C170 Blocks Emails Being Sent From SMTP Relay

    I have an issue with emails being sent out through our virtual SMTP Relay from a server on the DMZ. Any emails being sent to internal email accounts on our domain works fine. However the ones sent to external accounts are being rejected by the RAT. Here is a shot of the rejection message we are getting:
    29 Oct 2013 10:09:58 (GMT -05:00)
    Protocol SMTP interface Data 2 (IP xxx.xxx.xxx.xxx) on incoming connection (ICID xxxxxxx) from sender IP xxx.xxx.xxx.xxx. Reverse DNS host internal.domain.org verified yes.
    29 Oct 2013 10:09:58 (GMT -05:00)
    (ICID xxxxxxx) ACCEPT sender group UNKNOWNLIST match sbrs[-1.0:10.0] SBRS 0.4
    29 Oct 2013 10:09:58 (GMT -05:00)
    Start message xxxxxx on incoming connection (ICID xxxxxxx).
    29 Oct 2013 10:09:58 (GMT -05:00)
    Message xxxxxx enqueued on incoming connection (ICID xxxxxxx) from [email protected]
    29 Oct 2013 10:09:58 (GMT -05:00)
    Message xxxxxx on incoming connection (ICID xxxxxxx) to [email protected] was rejected by Recipient Access Table (RAT).
    29 Oct 2013 10:09:58 (GMT -05:00)
    Message xxxxxx aborted: Receiving aborted by sender
    I am new to the Ironport world so I am having a hard time figuring out how to allow for my SMTP relay to send emails to external email accounts. Thanks for any advice in advance! 

    It looks like the message should be arriving via SENDERGROUP RELAYLIST instead of
    ACCEPT sender group UNKNOWNLIST .
    Navigate to GUI --> Mail Policies --> HAT Overview
    Then click the RELAYLIST sendergroup
    Add the IP address of your sending MTA to this group, submit and commit changes.

  • Prevent an email being sent when claiming a task

    Using the assign task component in WorkBench ES, we initially assign a task to a group rather than an individual. We would like to continue sending the initial email when entering in a task. We would like to stop the email being sent to the user that claims the item. This is because the user needs to click a single button to process the task. By the time they receive the email, they have already processed the item. Any suggestions would be appreciated. - Thank you

    Hi,
    We got the same issue of getting email when the user claim the task which is confusing the user.
    I saw the issue is corrected/fixed or is helpful, can you please share on how you got it corrected.
    We are still using ES with SP3. We have enabled the Group - Task Assignment and Task Assignment.
    Thanks,
    Han Dao

Maybe you are looking for

  • Garbage characters displayed when saving InfoView Page Layout in Chinese

    HI, I'm new to BO, so I don't know whether I'm giving required information or not. We integrated BO with our product.Following are the configuration details. Server: win2k3 sp2 DataBase: Embedded Sybase SQL Clinet: winxp sp3(Chinese) + FF3.6.8 I logg

  • Creator Virtual Forms or Multiple Forms in a page?

    Hello to everyone! I guess the problem I have must have been answered somewhere in this forum, however I cannot find the right answer. Simple stated: I have a page with 2 sections. First section contains 2 DropDown lists for the user to select items.

  • [Android][Other] Spotify needs to let users change the AudioFocus() settings like PowerAmp does.

    Hi Spotify, I think you should seriously consider updating the Advanced Settings section of the Spotify Android app so that a user can make the following granular settings: - Interrupt audio when notifications play (yes/no)- Interrupt audio when othe

  • Problem in Instalation of Oracle8i on Linux

    Hi, I hav downloaded the oracle8i from linux from oracle site. Performed all the pre-configuration steps of set env variables like PATH, ORACLE_BASE, ORACLE_HOME, ORACLE_SID and LD_ASSUME_KERNEL after connecting as oracle. made for mount points namel

  • Any possible way to view sent or recieved text messages

    Hi all, Is there any possible way for me to view texts that I have sent or received? The reason I ask is because, this past Monday (01/05/2015), I received a text with some very important details that I need, and like an idiot, I deleted the conversa