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.
  • 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
                          • L Luc Pattyn

                            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 Offline
                            OriginalGriffO Offline
                            OriginalGriff
                            wrote on last edited by
                            #22

                            :laugh: I am not going to Belgium again - not for you, not for anybody! :laugh:

                            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

                            1 Reply Last reply
                            0
                            • E Elayaraja Sambasivam

                              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 Offline
                              H Offline
                              here2learn
                              wrote on last edited by
                              #23

                              thanks sambasivam. i will give it a try... :)

                              "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
                              • L Luc Pattyn

                                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:

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

                                hi. how shall i publish my id.

                                "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 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 Offline
                                  J Offline
                                  J4amieC
                                  wrote on last edited by
                                  #25

                                  here2learn wrote:

                                  may be i belong to india where people are more open and here sharing birthdates are not big deals

                                  Yet im sure you know a bunch of people who work / have worked in call centres... what is the first "security" question you get asked when calling 99% of companies? A: Your date of birth.

                                  H L 2 Replies Last reply
                                  0
                                  • J J4amieC

                                    here2learn wrote:

                                    may be i belong to india where people are more open and here sharing birthdates are not big deals

                                    Yet im sure you know a bunch of people who work / have worked in call centres... what is the first "security" question you get asked when calling 99% of companies? A: Your date of birth.

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

                                    that is there but still there are bunch of people that's our friends out of our family, with whom we share many things and bdate is one of them... and of course everyone of us know whom of our firend we can ask and share how much... any way what you told is absolutely right taking if any such details collecting thing is being attempted which will reveal our info to a person whom we woulnd't wish to share bday such details with... thanks. :) when i kept this question i really didn't know i will get/send message to many of you... really nice experience of suggestions and corrections for me... All, thanks a lot... :)

                                    "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
                                    • J J4amieC

                                      here2learn wrote:

                                      may be i belong to india where people are more open and here sharing birthdates are not big deals

                                      Yet im sure you know a bunch of people who work / have worked in call centres... what is the first "security" question you get asked when calling 99% of companies? A: Your date of birth.

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

                                      Well, that just caught me by surprise. +5 for picking that up.

                                      Check out the CodeProject forum Guidelines[^] The original soapbox 1.0 is back![^]

                                      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

                                        C Offline
                                        C Offline
                                        CoderForEver
                                        wrote on last edited by
                                        #28

                                        why dont u post the code that sends to one budy and we will give u a hint ..

                                        1 Reply Last reply
                                        0
                                        • L Lost User

                                          Well, that just caught me by surprise. +5 for picking that up.

                                          Check out the CodeProject forum Guidelines[^] The original soapbox 1.0 is back![^]

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

                                          Sorry but i didn';t get you...

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