New Window [modified]
-
How to raise mailer in asp.net? I mean - open up a new mail window from a default mail program. In HTML there was something like that: Send <a href=mailto:aa@aa.aa?sub=sub> Send </a> I can`t make a asp:button and set its PostBackUrl property to: mailto:aa@aa.aa?sub=sub because it SENDS email, instead of just opening the new email window. Any ideas? -- modified at 9:19 Tuesday 27th March, 2007
-
How to raise mailer in asp.net? I mean - open up a new mail window from a default mail program. In HTML there was something like that: Send <a href=mailto:aa@aa.aa?sub=sub> Send </a> I can`t make a asp:button and set its PostBackUrl property to: mailto:aa@aa.aa?sub=sub because it SENDS email, instead of just opening the new email window. Any ideas? -- modified at 9:19 Tuesday 27th March, 2007
CleaKO
"I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that.'" - Tommy (Tommy Boy)
"Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School) -
CleaKO
"I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that.'" - Tommy (Tommy Boy)
"Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School) -
How to raise mailer in asp.net? I mean - open up a new mail window from a default mail program. In HTML there was something like that: Send <a href=mailto:aa@aa.aa?sub=sub> Send </a> I can`t make a asp:button and set its PostBackUrl property to: mailto:aa@aa.aa?sub=sub because it SENDS email, instead of just opening the new email window. Any ideas? -- modified at 9:19 Tuesday 27th March, 2007
Found this, it may be helpful[^]
CleaKO
"I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that.'" - Tommy (Tommy Boy)
"Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School) -
If you require a button I just posted another reply, otherwise why not just use something like a link button or hyperlink? Then you just set the navigate URL to "mailto:aa@aa.com".
CleaKO
"I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that.'" - Tommy (Tommy Boy)
"Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School) -
Found this, it may be helpful[^]
CleaKO
"I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that.'" - Tommy (Tommy Boy)
"Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School)Hi CleaKO, I need to read mails from Eudora software something like outlook. Actually I need to seperate delivery and undelivery mails from Eudora.I am using ASP.NET2.0(VB).I have created a form where I select the mail ID's , heading, any image or link or attachment to be added with that mail and finally when I clicked on the button send mail then it should open the instance of Eudora and when I say send then it should send the mails.I want to open only one instance with different letter something like mail Merge in word. Do u have any help for the same?Please help me with code. Thanks in advance..
-
Hi CleaKO, I need to read mails from Eudora software something like outlook. Actually I need to seperate delivery and undelivery mails from Eudora.I am using ASP.NET2.0(VB).I have created a form where I select the mail ID's , heading, any image or link or attachment to be added with that mail and finally when I clicked on the button send mail then it should open the instance of Eudora and when I say send then it should send the mails.I want to open only one instance with different letter something like mail Merge in word. Do u have any help for the same?Please help me with code. Thanks in advance..
This I dont know anything about and I would suggest you start a new thread rather than take someone else's.
CleaKO
"I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that.'" - Tommy (Tommy Boy)
"Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School) -
This I dont know anything about and I would suggest you start a new thread rather than take someone else's.
CleaKO
"I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that.'" - Tommy (Tommy Boy)
"Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School)Actually I have done that but didnt got any reply till today.I am search this from very long. Anyways thanks for the reply.
-
Found this, it may be helpful[^]
CleaKO
"I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that.'" - Tommy (Tommy Boy)
"Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School)Using a button with the following line in OnClick event: Response.Redirect("aaa@aa.aa") is not a best solution: * it opens a new mail window - thats great, but... * it also leaves a browser window with "aaa@aa.aa" as an addess. This is awfull efect - I would like the browser window to stay on the page, where was the button that I clicked.
-
Actually I have done that but didnt got any reply till today.I am search this from very long. Anyways thanks for the reply.
Have you tried Google, it looks like there are some examples there[^]
CleaKO
"I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that.'" - Tommy (Tommy Boy)
"Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School) -
Using a button with the following line in OnClick event: Response.Redirect("aaa@aa.aa") is not a best solution: * it opens a new mail window - thats great, but... * it also leaves a browser window with "aaa@aa.aa" as an addess. This is awfull efect - I would like the browser window to stay on the page, where was the button that I clicked.
Since you insist on using an asp:button to do this look here[^], it looks like this will require JavaScript.
CleaKO
"I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that.'" - Tommy (Tommy Boy)
"Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School) -
Since you insist on using an asp:button to do this look here[^], it looks like this will require JavaScript.
CleaKO
"I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that.'" - Tommy (Tommy Boy)
"Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School)I insist to use asp:button, because I have several other things that have to be done after clicking on this button. Your help is extremaly usefull, but I`m not an expert in Javascript and there is one more small hint that I need: I read this article and I copied the function: function OpenMail() { location.href = "mailto:help@help.net"; return false; } into my .aspx page. My button has the following definition: <asp:Button ID="AcceptButton" runat="server" Text="aa" OnClick="AcceptButton_Click" CausesValidation="False" UseSubmitBehavior="False" /> And as I said before, several things has to be done after clicking on this button, so AcceptButton_Click looks like: protected void AcceptButton_Click(object sender, EventArgs e) { ClearData(); ... //How to call that method written in Javascript? } The question is - how to call that method written in Javascript?
-
I insist to use asp:button, because I have several other things that have to be done after clicking on this button. Your help is extremaly usefull, but I`m not an expert in Javascript and there is one more small hint that I need: I read this article and I copied the function: function OpenMail() { location.href = "mailto:help@help.net"; return false; } into my .aspx page. My button has the following definition: <asp:Button ID="AcceptButton" runat="server" Text="aa" OnClick="AcceptButton_Click" CausesValidation="False" UseSubmitBehavior="False" /> And as I said before, several things has to be done after clicking on this button, so AcceptButton_Click looks like: protected void AcceptButton_Click(object sender, EventArgs e) { ClearData(); ... //How to call that method written in Javascript? } The question is - how to call that method written in Javascript?
-
How to raise mailer in asp.net? I mean - open up a new mail window from a default mail program. In HTML there was something like that: Send <a href=mailto:aa@aa.aa?sub=sub> Send </a> I can`t make a asp:button and set its PostBackUrl property to: mailto:aa@aa.aa?sub=sub because it SENDS email, instead of just opening the new email window. Any ideas? -- modified at 9:19 Tuesday 27th March, 2007
-
Thank you both very much guys! The button.attributes(...) was correct a correct solution to the last part of the problem
Im glad it worked, I just hate requiring JavaScript for functionality because you will use this and someone will have scripting turned off then they wont be able to get the mailto function of the button click. You can also use a LinkButton and call a server command when it is clicked in order to do the same thing and I think you can have it appear as a command button.
CleaKO
"I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that.'" - Tommy (Tommy Boy)
"Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School)