ASP insert record receive mail alert

Hi,
I have an insert record in my ASP page to my db Access,
that's works fine.
I want to know if it is possible to send at the same time a
mail to me that
tell me there is a new record?
Can I put two form actions in the same form?
<form action="<%=MM_editAction%>" method="POST"
name="frm_connaitre"
id="frm_connaitre">
<form action="/fr/mail/mail.asp" method="post"
name="frm_connaitre"
id="frm_connaitre">
Response from bregent:
No. You should execute the form mail script after the insert
record is
successful.
My question:
Can someone explain to me how to execute the form mail script
after the
insert
record?
Thanks in advanced
Sam

All you do is locate the part of the insert script that
handles the
redirection to the success page and then copy (or write) your
mail script
there.
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"SamDesign.be" <[email protected]> wrote in
message
news:et6t3a$r77$[email protected]..
> Hi,
> I have an insert record in my ASP page to my db Access,
that's works fine.
> I want to know if it is possible to send at the same
time a mail to me
> that
> tell me there is a new record?
> Can I put two form actions in the same form?
>
> <form action="<%=MM_editAction%>" method="POST"
name="frm_connaitre"
> id="frm_connaitre">
> <form action="/fr/mail/mail.asp" method="post"
name="frm_connaitre"
> id="frm_connaitre">
>
> Response from bregent:
> No. You should execute the form mail script after the
insert record is
> successful.
>
> My question:
> Can someone explain to me how to execute the form mail
script after the
> insert
> record?
> Thanks in advanced
> Sam
>
>

Similar Messages

  • ASP insert record receive a mail alert

    Hi,
    I have an insert record in my ASP page to my db Access,
    that's works fine.
    I want to know if it is possible to send at the same time a
    mail to me that
    tell me there is a new record?
    Can I put two form actions in the same form?
    <form action="<%=MM_editAction%>" method="POST"
    name="frm_connaitre"
    id="frm_connaitre">
    <form action="/fr/mail/mail.asp" method="post"
    name="frm_connaitre"
    id="frm_connaitre">
    Thanks in advanced
    Sam

    Hi Bregent,
    Can you explain to me how to execute the form mail script
    after the insert
    record?
    Thanks in advanced
    Sam
    "bregent" <[email protected]> a écrit
    dans le message de news:
    et44g1$cqr$[email protected]..
    > No. You should execute the form mail script after the
    insert record is
    > successful.

  • How do I stop receiving Mail alerts on the iPad? E.g when browsing Safari a Mail alert box will pop up when I receive a new email. I don't want this alert. Thanks.

    How do I stop receiving Mail alerts on the iPad?
    e.g. When browsing in Safari I will be interrupted by a 'ping' sound and a Mail alert box every time a new email comes in to my Inbox. This is irritating. How do I stop this? To see if I have new Mail I just prefer to go to Mail and my Inbox at convenient intervals.
    Thank you.

    The same way you'd change any notifications: Settings>Notifications>Mail. Change it to "Banner" or "None".

  • Insert record & mail

    Im trying to insert data captured from a registration form
    using Dreamweavers insert record scripts and need the data to be
    sent to a user as it has a activation link inside the mail using
    random numbers inserted into the database via a hidden form field.
    Ive put the PHP Mail after the "$Result1 =
    mysql_query($insertSQL, $sgu) or die(mysql_error());" line - but
    its not sending at all.
    Is there something i need to do or is there something im
    doing wrong? Ive tried two variations of the mail() function, one
    which i know for sure works as im already using it else where - and
    one i discovered as a solution to the problem im having when
    googling it.
    Any help would really be appreciated!
    Thanks,
    J

    All you do is locate the part of the insert script that
    handles the
    redirection to the success page and then copy (or write) your
    mail script
    there.
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "SamDesign.be" <[email protected]> wrote in
    message
    news:et6t3a$r77$[email protected]..
    > Hi,
    > I have an insert record in my ASP page to my db Access,
    that's works fine.
    > I want to know if it is possible to send at the same
    time a mail to me
    > that
    > tell me there is a new record?
    > Can I put two form actions in the same form?
    >
    > <form action="<%=MM_editAction%>" method="POST"
    name="frm_connaitre"
    > id="frm_connaitre">
    > <form action="/fr/mail/mail.asp" method="post"
    name="frm_connaitre"
    > id="frm_connaitre">
    >
    > Response from bregent:
    > No. You should execute the form mail script after the
    insert record is
    > successful.
    >
    > My question:
    > Can someone explain to me how to execute the form mail
    script after the
    > insert
    > record?
    > Thanks in advanced
    > Sam
    >
    >

  • This is regarding CBMA in SAP PI 7.3.1. I have set up the alert mail using default java mail client.I do receive the alerts via mail. But my requirement is to direct all the mails to Business workplace inbox in ECC.

    This is regarding CBMA in single stack SAP PI 7.3.1. I have set up the alert mail using default java mail client.I do receive the alerts via mail. But my requirement is to direct all the alert mails to Business workplace inbox in ECC.
    So I need to set up PI to redirect mails to ECC Business workplace user inbox (sbwp). From here rules are set up & routed per distribution list.
    Please guide me how I can achieve this requirement.

    Hi,
    yes, it is a little bit different. This is the issue.....  
    But I am not sure if your links will help:
    1) /people/william.li/blog/2008/02/13/sap-pi-71-mapping-enhancements-series-using-graphical-variable
    is about a different solution. I do not need to count the number of lines of the source message.
    And the second variable is about concat line by line from unbound node to unbound node.
    My issue is:
    Souce:
    Message line (0...unbound) ! ! ! ! ! ! ! !
    .    ResultLine   (1..1)
    Mapping:
    =>   ResultLine1
           ResultLine2
           ResultLine........          => into UDF to an element  (1..1) in one mapping operation.
    So that all "ResultLine"s are included.
    The result is explained in the given link for Mail attachment with UDF.
    So I am not sure how to use this thread for my issue.
    In the comments of that blog Christoph Gerber writes that the new variable feature can only handle single values.
    So it is not suitable for my purposes as I have a list of values here that needs to be moved into the target message field.
    2) http://wiki.sdn.sap.com/wiki/display/Java/UsingEditJavaSectioninMessageMapping
    shows where to find the button "Java section" which is not available here in 7.1
    3) /people/sap.user72/blog/2005/10/01/xi-new-features-in-sp14
    too is about the nice little button for Java Section that is no longer existing on PI 7.1 screen for mappings.  
    So my issue is: How to replace the Java section function with global variables in PI 7.1?
    Best regards
    Dirk

  • I am using the standard iPad mail, I am receiving 3 alert notification banners for each of my VIP emails.  How do I fix so only receive

    I am using the standard iPad mail, I am receiving 3 alert notification banners for each of my VIP emails.  How do I fix so only receive 1 alert for each new VIP email?

    iCloud will only sync devices on the same account. There is no way around having to purchase more storage, unfortunately for you.

  • Not received mail using Alert

    Hi to all,
    i have created Alert when i check the alert everything finished successfully but i havent received the email.
    in View Output getting following message
    Performing alert "sample Worker Alert"
    Connecting to "APPS"
    Performing action set "Send Email"
    Performing action "SEND EMAIL"
    Why i am not receiving mail.
    any one help pls.
    Thanks
    Badsha

    Hi ,
    Here are the details
    its a periodic alert
    sql stmt is
    select  papf.full_name
    ,       papf.employee_number
    ,       paaf.EFFECTIVE_START_DATE
    ,       paaf.EFFECTIVE_END_DATE
    ,       round(sysdate - paaf.EFFECTIVE_START_DATE) start_date
    ,       '[email protected]' email
    into
    &full_name,
    &employee_number,
    &EFFECTIVE_START_DATE,
    &EFFECTIVE_END_DATE,
    &start_date,
    &email,
    from    per_all_assignments_f paaf
    ,       per_all_people_f papf
    where   paaf.PERSON_ID = papf.PERSON_ID
    AND     EMPLOYMENT_CATEGORY in ('CWKFT','CWKPT')
    AND     round(sysdate - paaf.EFFECTIVE_START_DATE) = 92Thanks
    Badsha

  • Is there a way to receive a alert every time I receive an email without having to go into my mail icon?

    Is there a way to receive a alert every time I receive an email without having to go into my mail icon?

    BIG MONEY 696969 wrote:
    Is there a way to receive a alert every time I receive an email without having to go into my mail icon?
    Assuming you are using the latest version go into Settings > Notifications and turn on Allow Notifications for Mail. You can even fine tune it for which email addresses you want to receive notifications from and what kind of alert.

  • Validate 2 E-mail address fields in insert record form

    Hello,
    I have used the Insert Record Form Wizard to create a form, including using the Validate Form Server Behavior to validate many fields.
    I can't figure out how to compare & validate 2 E-mail address fields.
    After the form was created I opened the existing Validate Form Server Behavior - Advanced tab and built the condition {sub_email2} != {sub_email} but this had no affect on submitting the form.
    The other thing I tried was creating a new Compare Transaction Field behavior with the same condition {sub_email2} != {sub_email}, this also seemed to have no affect.
    I am just a beginner, so I admit to not really knowing what I'm doing, for me ADDT has been a great aid.
    The other thing I noticed, when I tried both the items above, besides not affecting being able to submit the form with different E-mail addresses. The red asterisks indicating a required field, would disappear.
    Here is the form http://www.oescahealthregistry.org/forms/pedigree_submission.php this version of the form does NOT include either of my attempts to validate the E-mail fields.
    Thanks in advance for your help.
    Dennis

    Hi,
    A compare statement should work fine. As an example I made small form that inserts name and email (2 fields) using Insert record wizard.
    Name field is required, email field is required and checks that its a valid email structure ([email protected]). I then finish the wizard.
    <input type="text" name="email" id="email" value="<?php echo KT_escapeAttribute($row_rsemail['email']); ?>" size="32" />
    <?php echo $tNGs->displayFieldHint("email");?> <?php echo $tNGs->displayFieldError("email", "email"); ?>
    I then add the extra field to the form that the 2nd email will be entered into, this one I called email2, I then copied the display hint and fielderror code from the first email and placed it behind the 2nd email box and changed the text to reflect email2. Which probably doesnt matter but I put it there anyway.
    <input name="email2" type="text" id="email2" size="32" />
    <?php echo $tNGs->displayFieldHint("email2");?> <?php echo $tNGs->displayFieldError("email2", "email2"); ?>
    Now that I have both email fields in the form, I go to the developer tools under server behavior and select compare transactions fields under form validation.
    I hit the + to add a field I then choose email for field, then == for condition, then {POST.email2} for compare to. I enter in an error message and hit ok.
    Thats it the form is ready.
    The first email field will check against email validation and the 2nd email will check against the first email.
    I hope that helps.
    Take note that the database actually only has 2 fields to enter data. Then 2nd email field is only for validation.
    Message was edited by: Albert S.

  • Email alert in SAP when i receive mail in SAP inbox

    Gurus,
    I create a notification in SAP.I am sending the notification thro SAP mail.The person who is getting the mail should receive a alert that a mail has arrived.Is it possible to set the alert?

    Yes Buddy ! there is a way. If you are sending it using SBWP then just check the box (having column Name:Express in Recipient TAB) next to the Recip. Type column. Or If you are sending it thru FM then set the Flag EXPRESS in Recievers Table (tab).
    let me know if still any confusion.
    Warm Regards,
    N. Singh

  • How can I receive mail not addressed to me?

    This is a security question. Have any of you been receiving mail not addressed to you?
    Lately, after the installation of MacOSX 10.4.10 on her G4 PowerBook, a family member has been receiving letters in Apple Mail not addressed to her. Had they arrived by mail, they should have been moved to her Junk Folder by her junk filter.
    At first this alarmed me greatly (well, it still does): I removed her computer from the internet & performed examinations for break-ins; for I believed these letters were not mailed, but inserted into her inbox. Because she doesn't believe in security, I was limited to examining logs, and scanning her computer in firewire target disk mode. Both MacScan and ClamXav revealed nothing.
    Puzzle 1: About a month ago, there appeared a finder image (happy blue face) at the bottom of her desktop (which is a unique grey-green designed by me). This disappeared in a day or two, at 5:00p on the dot, suggesting an application was involved. When I checked the logs at the exact date & time of desktop photo switches, there was an hiatus (which could have been natural).
    Puzzle 2: Today she again received a letter not addressed to her, but to '[email protected]'. (I sent a letter from a mail alias to this address, but it did not appear in her mailbox.) The letter, by the way, was a phish from Germany, so I reported it immediately to Spam Cop. An addendum to this question contains the header of this letter, with the real person's name replaced by [email protected]. (Nothing here need be removed by a moderator.)
    Has anyone an explanation for either of these puzzles? I think they're both important. (Before the internet was released upon the public, Postmasters would read the recipient and subject lines of dead letters, then forward them to whoever they thought it was for. 'Krystal2' has no relation to 'correctname', so that's unlikely.) Also, my wife has allowed me to secure her computer better, and no problems similar to 1 or 2 has ever appeared. Thanks very much for any ideas!
    Bruce
    ADDENDUM: Long Header of Letter (safe to display)
    Return-path: <[email protected]>
    Received: from mac.com ([10.150.68.24])
    by ms173.mac.com (Sun Java System Messaging Server 6.2-7.05 (built Sep 5
    2006)) with ESMTP id <[email protected]> for
    [email protected]; Wed, 21 Nov 2007 10:14:18 -0800 (PST)
    Received: from dslb-088-068-127-106.pools.arcor-ip.net
    (dslb-088-068-127-106.pools.arcor-ip.net [88.68.127.106])
    by mac.com (Xserve/smtpin024/MantshX 4.0) with SMTP id lALIDf9G011038; Wed,
    21 Nov 2007 10:13:48 -0800 (PST)
    Received: from pacbell.net (seclude.pacbell.net [12.57.124.138])
    by wptop.com with SMTP id 0QPZBZ0LZ5 for <[email protected]>; Wed,
    21 Nov 2007 12:12:45 -0600
    Date: Wed, 21 Nov 2007 10:13:41 -0800 (PST)
    From: BB&T <[email protected]>
    Subject: BB&T: security alert! (message id: JT4786381)
    To: Krystal2 <[email protected]>
    Message-id: <[email protected]>
    MIME-version: 1.0
    X-Mailer: Calypso Version 3.20.01.01 (4)
    Content-type: multipart/alternative; boundary=--LSNV40EM4DGH64PSJJH7BC
    X-Priority: 3 (Normal)
    X-Originating-Server: maido3.com (unknown [40.36.3.192])
    User-Agent: Calypso Version 3.20.01.01 (4)
    Original-recipient: rfc822;[email protected]
    ----LSNV40EM4DGH64PSJJH7BC
    Content-Type: text/html;
    Content-Transfer-Encoding: 7Bit

    David,
    Sorry, migraine over the holidays. Thank you: you're right! The reason I don't get any like this is because the SPAM must apparently use RFC822. This protocol appears deprecated. It appears stamped on some mail initially sent by Apple, but not others.
    Thank you very much, for these have been concerning me. I'm used to seeing my name stamped by each relaying computer. A test letter I sent from my local ISP with a BCC to myself at a school across the country stamped my name at each step.
    Your first sentence is slightly ambiguous. In my opinion, any problem whose only explanation at the moment is a security breach is then a security problem, and should be treated immediately as such. The Finder's image is still one.
    Thanks again.
    Bruce

  • Regarding Receiver Mail adapter.

    Hi experts,
    iam looking at one off the weblog whick  Michal Krawczyk have created.
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    in this weblog michal have told to download the XSD file from service market place  and upload it in IR External definition it gives us target structure.What is the use off it, we can directly create the target structure.
    And also one more dought what is the use off checking parameter in mail Attributes use mail package.I dont have much knowledge on mail adapter please help me in this issue.
    i want to send parameters dynamically into receiver mail adapter in my project ie(TO,FROM,SUB and CONTENT) please send links and doc's on it.
    Note: Helpfull answer will be rewarded.
    Thanks & regards,
    Phani

    Hi raj,
    Once again thanks for the reply,I will explain my object,its is any 2 senarios in one object.
    1) file to proxy were i upload employee details in to infotype2010 after inserting what ever error records i will l store them in error table.
    2)ater geting error records if i get more then 25 i have to send file path and error records to receiver side. or if i get all sucess also i have 2 send sucess flag into receiver side.
    but i haveto pick data from different systems and i have to send the data into different mail ids i have to generate TO FROM CONTENT dynamically.
    onsite have prepared TS(Tecnical specs) in that spec they gave XIALL and SMTP.
    so my question is using this parameters can i post them dynamically or  not.
    if YES ? then how??
    please help me in this issue.
    if u still dont understand give me ur id  i will send my TS.
    Thanks and regards,
    phani

  • Send Email after Insert Record

    I am by no means a coder so please be gental. I have a
    contact page that I have insert into a database, but I am also
    trying to send an email after it inserts into the db. But I cant
    seem how to make it work. Dreamweaver wrote the code for the insert
    and I am not sure were to go from here. I am using asp vb.
    thnaks

    On 11 Mar 2007 in macromedia.dreamweaver.appdev, jeremy12345
    wrote:
    > I am by no means a coder so please be gental. I have a
    contact page
    > that I have insert into a database, but I am also trying
    to send an
    > email after it inserts into the db. But I cant seem how
    to make it
    > work. Dreamweaver wrote the code for the insert and I am
    not sure
    > were to go from here. I am using asp vb.
    See all those Request.Form("nameSuffix") and similar? They
    contain the
    information posted from the form, and are still available to
    you after
    the database has been populated.
    What you need to do:
    - Find out from your hosting provider what mail component(s)
    are
    available on your server.
    - Create an email using the information from the form:
    <%
    DIM MyEMailBody, MyEMail
    MyEMailBody = "Name: " & Request.Form("nameFirst") &
    MyEMailBody = MyEMailBody & Request.Form("nameMiddle")
    MyEMailBody = MyEMailBody & Request.Form("nameLast")
    & VBCrLf
    ' VBCrLf is a CarriageReturn/LineFeed (ie a new line)
    ' Details Below will vary depending on the mailer component
    MyEMail = CreateObject("CDONTS.NewMail")
    MyEMail.From = "[email protected]"
    MyEMail.To = "[email protected]"
    MyEMail.Subject = "Inserted Record"
    MyEMail.Body = MyEMailBody
    ' Send the email
    MyEMail.Send
    ' Get rid of the email on the server
    SET MyEMail = nothing
    %>
    Joe Makowiec
    http://makowiec.net/
    Email:
    http://makowiec.net/email.php

  • Error while inserting records in sqlLite database

    Hi all
    I am building a hybrid web app in SMP using phonegap and html.
    I am trying to insert records in sql database but i get an error with an undefined error code
    Please see below :
    function openDatabaseFoo() {
      db = window.openDatabase(clientDBName, clientDBVersion, clientDBDisplayName, clientDBMaxSize);
    function createDBTables() {
      db.transaction(function(tx) {
      // Create mine table
      var fooCreate = 'CREATE TABLE IF NOT EXISTS ' + fooTable+ ' (empNo, empName)';
      tx.executeSql(fooCreate , [],
      function (tx, resultSet) {
                //success
      var msg = 'Sucessfully created';
      alert(msg);
      logSuccessMessage(msg);
                function (err) {
                //error code
                var msg = "Error creating table = " + err.code;
                alert(msg);
                logErrorMessage(msg);
    the creation of tables is happening properly because i am getting a success message in the alerts.
    I am getting the error when i am trying to insert records in the above table
    function insertDataTable(){
    db.transaction(function(tx) {
    var insertSql = 'INSERT INTO ' + fooTable + ' (empNo, empName) VALUES ("1603","baker")';
    tx.executeSql(insertSql, [],
      function (tx, resultSet) {
                //success
      var msg = 'Sucessful insertingdata.';
      alert(msg);
      logSuccessMessage(msg);
                function (err) {
                //error code
                var msg = "Error inserting data sql = " + insertSql + " Error code = " + err.code;
                alert(msg);
                logErrorMessage(msg);
    can some one please help.Also guide me where can i check the sqlLite database logs to see more about the error.
    I would really appreciate the help.I have been onto this since past few days now
    Regards
    Shweta

    What is err.code, or the value of msg when the error occurs?
    Thanks,
    Andrew.

  • I can no longer receive e-mail messages through my @mac/@me account. I can still send e-mail messages, though. I believe there may have been recent attempts to hack into my account. I have changed my password, but wonder how to start receiving mail again?

    I can no longer receive e-mail messages through my @mac/@me account, though I still seem to be able to send messages. I believe there may have been recent attempts to hack into my Mail account (my LinkedIn and Facebook accounts were both hacked three days ago and a scam/phishing message sent to my contacts, and I know there was at least an attempt made to hack into one of my e-mail accounts). I have already changed my Apple password, but how do I start receiving mail again?
    (And I should also say that I'm a little surprised there was no alert from Apple of suspicious activity on my account, if such was the case. Instead, when I logged into my account via Mobile Me three days ago I noticed that all messages in my inbox were gone as well as all of my contacts. I assume this was related to the current problem.)
    Thanks for all responses.

    The problem has been solved with the help of a MobileMe online counsellor. My MobileMe account had in fact been hacked into and the fraudster had been redirecting my e-mail messages to a phony account that he controlled. We took the forward off and reset all my passwords and security questions, which solved the immediate problem.
    Thx.

Maybe you are looking for

  • Why i can't create PDF with right format by LiveCycle?

    Hello, As we know that PDF format has four sections, the header, object body, cross-reference table and trailer. But after I create a PDF by Adobe LiveCycle, and open it by UltraEdit or Notepad, I cannot find the cross-reference table and some object

  • Using V3xx as a modem

    Greetings, I've got the V3xx RAZR and am trying in vain to get it to work as a modem. I've contacted Cingular and they have confirmed that my phone is set up correctly and that my Data plan supports the phone as modem. I've downloaded suggested modem

  • Boot sequence reverts to external drive as default

    When troubleshooting a now-resolved problem in my dual G5, I set up a clean installation on a partition on my external drive, and then used the OPTION key to boot to it. Everything got fixed, except now the machine automatically boots to that drive w

  • I have credit and it's less than 0.99 and i need to change the region and i don't have visa

    i have credit and it's less than 0.99 and i need to change the region and i don't have visa

  • Joining/adjusting the properties of multiple clips

    In the timeline I have a short video clip I would like to play and then immediately after play it in reverse. I can copy and paste, then reverse the 2nd clip, but now I'd like to change the speed of both of those so that the first starts and the seco