Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How to open a window in when user opens a email

How to open a window in when user opens a email

Scheduled Pinned Locked Moved C#
sysadminhelptutoriallearning
29 Posts 10 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H here2learn

    Hello Everyone... There is a need to do below for one of my project which i ma doing for learning purpose... i am finding it difficult to implement... please give me some direction on this... i want to send an email to so many any people in diffrent world areas. what i need is that when any of Recipient opens/selects that email in thier outlook client, it shall open a pop up kind of window where i can ask my friend to provide thier birthday details (in some netry field in the window) and then say "ok" or something. which shall send a email back to my id(that is sender's id)... the main dificulty i am getting is to send mail, we need to know exchge server details of that user's system. how do we get that... like that opening window from outlook mail is unknown to me...   :doh: it would be really helpful if some of you can share your knowledge with me which shall help me to achieve this... :)

    "You just become, like a flower becomes the fruit. It's all built in within you. Allow it to work out." -- Shri Mataji Nirmala Devi......... for more details visit : http://www.sahajayoga.org Akhilesh Singh

    modified on Wednesday, August 26, 2009 5:41 AM

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #2

    Hmm... you look like a spammer. You need a confirmation, the the email address exists.

    H 1 Reply Last reply
    0
    • H here2learn

      Hello Everyone... There is a need to do below for one of my project which i ma doing for learning purpose... i am finding it difficult to implement... please give me some direction on this... i want to send an email to so many any people in diffrent world areas. what i need is that when any of Recipient opens/selects that email in thier outlook client, it shall open a pop up kind of window where i can ask my friend to provide thier birthday details (in some netry field in the window) and then say "ok" or something. which shall send a email back to my id(that is sender's id)... the main dificulty i am getting is to send mail, we need to know exchge server details of that user's system. how do we get that... like that opening window from outlook mail is unknown to me...   :doh: it would be really helpful if some of you can share your knowledge with me which shall help me to achieve this... :)

      "You just become, like a flower becomes the fruit. It's all built in within you. Allow it to work out." -- Shri Mataji Nirmala Devi......... for more details visit : http://www.sahajayoga.org Akhilesh Singh

      modified on Wednesday, August 26, 2009 5:41 AM

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #3

      If an email did that to me, I would hunt down the sender, and remove large lumps of their body with a rusty [CENSORED] [CENSORED] before [CENSORED] a melon [CENSORED]. Twice. Sideways.

      No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      N H L 3 Replies Last reply
      0
      • L Lost User

        Hmm... you look like a spammer. You need a confirmation, the the email address exists.

        H Offline
        H Offline
        here2learn
        wrote on last edited by
        #4

        Hi... thanks for response though it was little tough... i shall have told in starting that i am not doing any business advertisement thought these mails... i just want to collect birthdays of so many of my firends whom i will send this mail and automate this birthday collection... thats all whole idea is... in place of asking each of my friend to give thier bdays which i never collected and stored properly i want to do it though automated thing... and buddy i am not a spammer... you ask me few C# basic questions and if i know ans i will reply same otherwise atleast i will reply i don'y know... :) thanks any way...

        "You just become, like a flower becomes the fruit. It's all built in within you. Allow it to work out." -- Shri Mataji Nirmala Devi......... for more details visit : http://www.sahajayoga.org Akhilesh Singh

        modified on Wednesday, August 26, 2009 5:41 AM

        L 1 Reply Last reply
        0
        • OriginalGriffO OriginalGriff

          If an email did that to me, I would hunt down the sender, and remove large lumps of their body with a rusty [CENSORED] [CENSORED] before [CENSORED] a melon [CENSORED]. Twice. Sideways.

          No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones

          N Offline
          N Offline
          nagendrathecoder
          wrote on last edited by
          #5

          OriginalGriff wrote:

          I would hunt down the sender, and remove large lumps of their body

          :laugh:

          1 Reply Last reply
          0
          • OriginalGriffO OriginalGriff

            If an email did that to me, I would hunt down the sender, and remove large lumps of their body with a rusty [CENSORED] [CENSORED] before [CENSORED] a melon [CENSORED]. Twice. Sideways.

            No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones

            H Offline
            H Offline
            here2learn
            wrote on last edited by
            #6

            hi i just replied to one of member who thought i am spammer... :) then i thought to reply to you, i don't know what way i harmed you or troubled you so you replied in such a way... i am little different from people who act before thinking so you are getting a soft reply. any way, to clear some thing read below and think twice from next time onwards before replying to any one... if you don't know intention of person... it will reduce some headache from you as well as from the sender too... :) i shall have told in starting that i am not doing any business advertisement thought these mails... i just want to collect birthdays of so many of my firends whom i will send this mail and automate this birthday collection... thats all whole idea is... in place of asking each of my friend to give thier bdays which i never collected and stored properly i want to do it though automated thing... hope you understand this time...

            "You just become, like a flower becomes the fruit. It's all built in within you. Allow it to work out." -- Shri Mataji Nirmala Devi......... for more details visit : http://www.sahajayoga.org Akhilesh Singh

            modified on Wednesday, August 26, 2009 5:41 AM

            K OriginalGriffO 2 Replies Last reply
            0
            • H here2learn

              Hi... thanks for response though it was little tough... i shall have told in starting that i am not doing any business advertisement thought these mails... i just want to collect birthdays of so many of my firends whom i will send this mail and automate this birthday collection... thats all whole idea is... in place of asking each of my friend to give thier bdays which i never collected and stored properly i want to do it though automated thing... and buddy i am not a spammer... you ask me few C# basic questions and if i know ans i will reply same otherwise atleast i will reply i don'y know... :) thanks any way...

              "You just become, like a flower becomes the fruit. It's all built in within you. Allow it to work out." -- Shri Mataji Nirmala Devi......... for more details visit : http://www.sahajayoga.org Akhilesh Singh

              modified on Wednesday, August 26, 2009 5:41 AM

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #7

              It will not work. Because, what you want is the same thing what a spammer / virus do. Your code will be removed/blocked from mailserver, or from outlook client, or antivirus. That means, forget it....!!! A "normal" user just send an email like this: ------------------------------- Please provide me your bithday Name : Birthday : Thanks... -------------------------------

              H 1 Reply Last reply
              0
              • H here2learn

                hi i just replied to one of member who thought i am spammer... :) then i thought to reply to you, i don't know what way i harmed you or troubled you so you replied in such a way... i am little different from people who act before thinking so you are getting a soft reply. any way, to clear some thing read below and think twice from next time onwards before replying to any one... if you don't know intention of person... it will reduce some headache from you as well as from the sender too... :) i shall have told in starting that i am not doing any business advertisement thought these mails... i just want to collect birthdays of so many of my firends whom i will send this mail and automate this birthday collection... thats all whole idea is... in place of asking each of my friend to give thier bdays which i never collected and stored properly i want to do it though automated thing... hope you understand this time...

                "You just become, like a flower becomes the fruit. It's all built in within you. Allow it to work out." -- Shri Mataji Nirmala Devi......... for more details visit : http://www.sahajayoga.org Akhilesh Singh

                modified on Wednesday, August 26, 2009 5:41 AM

                K Offline
                K Offline
                Keith Barrow
                wrote on last edited by
                #8

                Your request looks exactly like a spammer / phishing attack, even if it isn't the intention.

                H 1 Reply Last reply
                0
                • K Keith Barrow

                  Your request looks exactly like a spammer / phishing attack, even if it isn't the intention.

                  H Offline
                  H Offline
                  here2learn
                  wrote on last edited by
                  #9

                  hi. thanks for your inputs. i was not aware if this is exactly what pishing does. so today i learnt to at least avoid this kind of approach for any implementation needs. i thanks everyone who ever reponded and gave thier inputs. thanks all... :)

                  "You just become, like a flower becomes the fruit. It's all built in within you. Allow it to work out." -- Shri Mataji Nirmala Devi......... for more details visit : http://www.sahajayoga.org Akhilesh Singh

                  modified on Wednesday, August 26, 2009 5:41 AM

                  M 1 Reply Last reply
                  0
                  • L Lost User

                    It will not work. Because, what you want is the same thing what a spammer / virus do. Your code will be removed/blocked from mailserver, or from outlook client, or antivirus. That means, forget it....!!! A "normal" user just send an email like this: ------------------------------- Please provide me your bithday Name : Birthday : Thanks... -------------------------------

                    H Offline
                    H Offline
                    here2learn
                    wrote on last edited by
                    #10

                    thanks. i have already done so (sending emails) but this one what i planned to create, was kind of forced reminder to all my firends who are too lazy to reply and didn't gave details till now. so i thought to send a different reminder... thanks for you suggestion... will stop this thought now...

                    "You just become, like a flower becomes the fruit. It's all built in within you. Allow it to work out." -- Shri Mataji Nirmala Devi......... for more details visit : http://www.sahajayoga.org Akhilesh Singh

                    modified on Wednesday, August 26, 2009 5:41 AM

                    L E 2 Replies Last reply
                    0
                    • H here2learn

                      thanks. i have already done so (sending emails) but this one what i planned to create, was kind of forced reminder to all my firends who are too lazy to reply and didn't gave details till now. so i thought to send a different reminder... thanks for you suggestion... will stop this thought now...

                      "You just become, like a flower becomes the fruit. It's all built in within you. Allow it to work out." -- Shri Mataji Nirmala Devi......... for more details visit : http://www.sahajayoga.org Akhilesh Singh

                      modified on Wednesday, August 26, 2009 5:41 AM

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #11

                      You cannot force your friends to give you their birthday. It's a privacy.

                      H 1 Reply Last reply
                      0
                      • L Lost User

                        You cannot force your friends to give you their birthday. It's a privacy.

                        H Offline
                        H Offline
                        here2learn
                        wrote on last edited by
                        #12

                        i too do have respect for my firends privacy but i know some of my friends who are not worried about thier privacy more over they are lazy enough to reply putting it as task for tomorrow... thanks... :)

                        "You just become, like a flower becomes the fruit. It's all built in within you. Allow it to work out." -- Shri Mataji Nirmala Devi......... for more details visit : http://www.sahajayoga.org Akhilesh Singh

                        modified on Wednesday, August 26, 2009 5:41 AM

                        1 Reply Last reply
                        0
                        • H here2learn

                          thanks. i have already done so (sending emails) but this one what i planned to create, was kind of forced reminder to all my firends who are too lazy to reply and didn't gave details till now. so i thought to send a different reminder... thanks for you suggestion... will stop this thought now...

                          "You just become, like a flower becomes the fruit. It's all built in within you. Allow it to work out." -- Shri Mataji Nirmala Devi......... for more details visit : http://www.sahajayoga.org Akhilesh Singh

                          modified on Wednesday, August 26, 2009 5:41 AM

                          E Offline
                          E Offline
                          Elayaraja Sambasivam
                          wrote on last edited by
                          #13

                          Instead of sending the mail content as plain text, send as html there you could write your javascript. but iam not sure about, how the client machine antivirus will allow this kind of script in the mail content.

                          H 1 Reply Last reply
                          0
                          • H here2learn

                            hi i just replied to one of member who thought i am spammer... :) then i thought to reply to you, i don't know what way i harmed you or troubled you so you replied in such a way... i am little different from people who act before thinking so you are getting a soft reply. any way, to clear some thing read below and think twice from next time onwards before replying to any one... if you don't know intention of person... it will reduce some headache from you as well as from the sender too... :) i shall have told in starting that i am not doing any business advertisement thought these mails... i just want to collect birthdays of so many of my firends whom i will send this mail and automate this birthday collection... thats all whole idea is... in place of asking each of my friend to give thier bdays which i never collected and stored properly i want to do it though automated thing... hope you understand this time...

                            "You just become, like a flower becomes the fruit. It's all built in within you. Allow it to work out." -- Shri Mataji Nirmala Devi......... for more details visit : http://www.sahajayoga.org Akhilesh Singh

                            modified on Wednesday, August 26, 2009 5:41 AM

                            OriginalGriffO Offline
                            OriginalGriffO Offline
                            OriginalGriff
                            wrote on last edited by
                            #14

                            My appologies if I offended you. However, if you are considering writing something that will make someones machine do unexpected things, you have to consider what the reaction will be. What would you think was happening if you recieved an email that did what you describe?

                            No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones

                            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                            "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                            M H 2 Replies Last reply
                            0
                            • H here2learn

                              hi. thanks for your inputs. i was not aware if this is exactly what pishing does. so today i learnt to at least avoid this kind of approach for any implementation needs. i thanks everyone who ever reponded and gave thier inputs. thanks all... :)

                              "You just become, like a flower becomes the fruit. It's all built in within you. Allow it to work out." -- Shri Mataji Nirmala Devi......... for more details visit : http://www.sahajayoga.org Akhilesh Singh

                              modified on Wednesday, August 26, 2009 5:41 AM

                              M Offline
                              M Offline
                              Mycroft Holmes
                              wrote on last edited by
                              #15

                              Glad you learnt something today. Another thought for you, consider that the people who you are sending your request to DON'T WANT to respond with their birthdays. Many of us refuse to disseminate this type of personal information to anyone but family and very close friends. That is why Griff responded so strongly. What you proposed to send to your friends is considered extremely intrusive.

                              H 1 Reply Last reply
                              0
                              • OriginalGriffO OriginalGriff

                                My appologies if I offended you. However, if you are considering writing something that will make someones machine do unexpected things, you have to consider what the reaction will be. What would you think was happening if you recieved an email that did what you describe?

                                No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones

                                M Offline
                                M Offline
                                Mycroft Holmes
                                wrote on last edited by
                                #16

                                I think it was a perfectly acceptable response, I wish I could leap down the line and rip some peoples lungs out, this guy would have been one of them. Friends like that who needs spammers.

                                1 Reply Last reply
                                0
                                • OriginalGriffO OriginalGriff

                                  My appologies if I offended you. However, if you are considering writing something that will make someones machine do unexpected things, you have to consider what the reaction will be. What would you think was happening if you recieved an email that did what you describe?

                                  No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones

                                  H Offline
                                  H Offline
                                  here2learn
                                  wrote on last edited by
                                  #17

                                  No need buddy. I do understand that at first my request looks like i am going to use it for spamming likd of thing, so it was even mistake from my side to keep unclear things out there... regarding if it happens to me: Yes thats true even i will feel its pishing kind of but only if from unknown sender but if i know the sender also i can see what that promprt is asking to me mostly i can believe the mail but still as all have suggested it's not good idea so i have dropped that thing and thinking to ping my friends some other way... thanks :)

                                  "You just become, like a flower becomes the fruit. It's all built in within you. Allow it to work out." -- Shri Mataji Nirmala Devi......... for more details visit : http://www.sahajayoga.org Akhilesh Singh

                                  modified on Wednesday, August 26, 2009 5:41 AM

                                  OriginalGriffO 1 Reply Last reply
                                  0
                                  • H here2learn

                                    No need buddy. I do understand that at first my request looks like i am going to use it for spamming likd of thing, so it was even mistake from my side to keep unclear things out there... regarding if it happens to me: Yes thats true even i will feel its pishing kind of but only if from unknown sender but if i know the sender also i can see what that promprt is asking to me mostly i can believe the mail but still as all have suggested it's not good idea so i have dropped that thing and thinking to ping my friends some other way... thanks :)

                                    "You just become, like a flower becomes the fruit. It's all built in within you. Allow it to work out." -- Shri Mataji Nirmala Devi......... for more details visit : http://www.sahajayoga.org Akhilesh Singh

                                    modified on Wednesday, August 26, 2009 5:41 AM

                                    OriginalGriffO Offline
                                    OriginalGriffO Offline
                                    OriginalGriff
                                    wrote on last edited by
                                    #18

                                    here2learn wrote:

                                    i will feel its pishing kind of but only if from unknown sender

                                    Thats part of the point, I guess - if it could open a window, it could send an email to your entire address book. Which would look like it came from a friend...

                                    No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones

                                    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                                    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                                    H 1 Reply Last reply
                                    0
                                    • M Mycroft Holmes

                                      Glad you learnt something today. Another thought for you, consider that the people who you are sending your request to DON'T WANT to respond with their birthdays. Many of us refuse to disseminate this type of personal information to anyone but family and very close friends. That is why Griff responded so strongly. What you proposed to send to your friends is considered extremely intrusive.

                                      H Offline
                                      H Offline
                                      here2learn
                                      wrote on last edited by
                                      #19

                                      thanks Mycroft. yes, i will consider your thoughts... may be i belong to india where people are more open and here sharing birthdates are not big deals and also not considered to be very secret information for onself to share with firends... so i feel lots of contradition is there because of the way we live, the way our culture is... :) i will also consider this from next time... thanks :)

                                      "You just become, like a flower becomes the fruit. It's all built in within you. Allow it to work out." -- Shri Mataji Nirmala Devi......... for more details visit : http://www.sahajayoga.org Akhilesh Singh

                                      modified on Wednesday, August 26, 2009 5:41 AM

                                      J 1 Reply Last reply
                                      0
                                      • OriginalGriffO OriginalGriff

                                        here2learn wrote:

                                        i will feel its pishing kind of but only if from unknown sender

                                        Thats part of the point, I guess - if it could open a window, it could send an email to your entire address book. Which would look like it came from a friend...

                                        No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones

                                        H Offline
                                        H Offline
                                        here2learn
                                        wrote on last edited by
                                        #20

                                        yes thats true... so no one can say the mail coming from a well known sender is safe or not if it does this kind of stuff what i tried... well explained... :) thanks

                                        "You just become, like a flower becomes the fruit. It's all built in within you. Allow it to work out." -- Shri Mataji Nirmala Devi......... for more details visit : http://www.sahajayoga.org Akhilesh Singh

                                        modified on Wednesday, August 26, 2009 5:41 AM

                                        1 Reply Last reply
                                        0
                                        • OriginalGriffO OriginalGriff

                                          If an email did that to me, I would hunt down the sender, and remove large lumps of their body with a rusty [CENSORED] [CENSORED] before [CENSORED] a melon [CENSORED]. Twice. Sideways.

                                          No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones

                                          L Offline
                                          L Offline
                                          Luc Pattyn
                                          wrote on last edited by
                                          #21

                                          promises we can't check unless you publish your e-mail address right now. :)

                                          Luc Pattyn

                                          :badger: :jig: :badger:

                                          Have a look at my entry for the lean-and-mean competition; please provide comments, feedback, discussion, and don’t forget to vote for it! Thank you.

                                          :jig: :badger: :jig:

                                          OriginalGriffO H 2 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups