Thanks for the reply but the object is not just to send
email but to open outlook express or outlook and use it to
compose and send email. Can you help me with that please?
The behavior of my application should be identical to the
case of clicking on an email address in internet explorer.
I want to bring up mail client software exactly like
internet explorer does. 5 1162
Hi
System.Diagnost ics.Process.Sta rt("mailto:sa** ***@yahoo.com?s ubject=test");
You should naturally replace the actual email address and subject with the
relevant email address and subject.
Chris Taylor
"Zack" <sa*****@yahoo. com> wrote in message
news:0d******** *************** *****@phx.gbl.. . Thanks for the reply but the object is not just to send email but to open outlook express or outlook and use it to compose and send email. Can you help me with that please?
The behavior of my application should be identical to the case of clicking on an email address in internet explorer. I want to bring up mail client software exactly like internet explorer does.
did you read my reply?
<quote>
if you just want to use outlook\outlook express (pretty sure outlook works
with this too, don't have it on this machine to test)
this code will do it, you'll have to put a little work into filling in the
address & subject, but it will work.
System.Diagnost ics.Process.Sta rt("mailto:emai l@address?subje ct=my subject");
</quote>
"Zack" <sa*****@yahoo. com> wrote in message
news:0d******** *************** *****@phx.gbl.. . Thanks for the reply but the object is not just to send email but to open outlook express or outlook and use it to compose and send email. Can you help me with that please?
The behavior of my application should be identical to the case of clicking on an email address in internet explorer. I want to bring up mail client software exactly like internet explorer does.
Hi again,
However, I'm very tired and I didn't read your post fully - I
thought you wanted more precise control.
Go with Chris and Daniel.
(And thank them profusely.)
Regards,
Fergus
How does the visibility of objects work in VB. I am pretty
sure i have to do something extra to mimic the following
line from VB to C#
Private g_oOutlook As Outlook.Applica tion
How do i make Outlook.Applica tion datatype visible in my
C# code? -----Original Message----- Hi Zack,
I'm too lazy to do too much but I've attached a bunch
of stufffrom an app that copies emails from Outlook to Acrobat.
It should getyou started at least. It's in VB but I'm sure you can
cope with that. Here's the gist of it though (still in VB) for anyone
else who'sereading this post.
Private g_oOutlook As Outlook.Applica tion 'The
server of theEmails. Private g_oMailStore As Outlook.NameSpa ce 'The
Email sourcewithin Outlook.
oOutlook = New Outlook.Applica tion oMailStore = g_oOutlook.GetN amespace ("MAPI")
oFoldersList As Outlook._Folder s =
oMailStore.Fold ers 'Notethe '_'. oFoldersList.Ge tFirst().Folder s
Dim oFolder As Outlook.MAPIFol der =
oFoldersList.Ge tFirst() Dim aoItems As Outlook.Items = oFolder.Items
Dim oEmail As Outlook.MailIte m = Nothing Try oEmail = aoItems.Item (uiEmailNum) 'This will
fail if theitem is not an Outlook.MailIte m.
Come back with any questions.
Regards, Fergus
Thanks.. :) -----Original Message----- Then you should have replied more specifically bout what
you've read, so youdon't confuse people, ;).
As far as i know, and i could be wrong, outlook express
doesn't have anautomation interface.
Outlook does, you can use the outlook XP PIA (available
from microsoft) andfollow some of the suggestions from fergus to create an
Outlook.Applica tionobject. I havn't played with it in C# yet, but it can be done.
Read up a bit on theOutlook object model and familiarize yourself with how it
works (should beavailable on msdn atleast).
"Zack" <sa*****@yahoo. com> wrote in message news:09******* *************** ******@phx.gbl. .. Yes i did. Thanks but this is not what i want. I want to start outlook express or outlook as a separate process. Can u please help me with that?
>-----Original Message----- >did you read my reply? ><quote> >if you just want to use outlook\outlook express (pretty sure outlook works >with this too, don't have it on this machine to test) >this code will do it, you'll have to put a little work into filling in the >address & subject, but it will work. >System.Diagnos tics.Process.St art("mailto:ema il@address? subject=my subject"); ></quote> >"Zack" <sa*****@yahoo. com> wrote in message >news:0d******* *************** ******@phx.gbl. .. >> Thanks for the reply but the object is not just to
send >> email but to open outlook express or outlook and use
it to >> compose and send email. Can you help me with that please? >> >> The behavior of my application should be identical to the >> case of clicking on an email address in internet explorer. >> I want to bring up mail client software exactly like >> internet explorer does. > > >. >
. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Phill Long |
last post by:
this is the the code, now here is the final result.... I get one combo box
and
one tex box come up, but they are empty...
DAMN!!!
Any ideas on what Im doing wrong please..
Thanks Again
<?php require_once('..\library_database\Connections\onlinequote.php'); ?>
<?
|
by: Michael |
last post by:
But i'm a good c++ programmer.
What i want to do is parse a text file and store the information in relevant
fields:
//Text File:
*Version 200
*SCENE {
AMBIENT_COLOUR 0.0 0.0 0.0
|
by: Calan |
last post by:
Mike,
Your code on the dynamic input checking was excellent and very well
explained. (The only thing I had to do was change the test for text input to
be "1 > len of text", instead or "0 > length of text", and add a line to
store the result for use on the server). Thank you very much!
I have a related issue that you might have some ideas...
|
by: Karl Roes |
last post by:
Hi All,
I have a form with a standard combo box and 5 tabs in A2003.
On Form Open, I set Me.Detail.Visible = False and in the after update
event of the combo set Me.Detail.Visible = True,( to open form with no
info showing ) I've noticed something quite strange.
I open the form ( details are not visible ) select any record ID with
the...
|
by: Patrick M. |
last post by:
I don't quite understand what K&R want me to do in Exercise 1-20 in "The
C Programming Language, 2nd Edition". Here's the description:
"Write a program detab that replaces tabs in the input with the proper
number of blanks to space to the next tab stop. Assume a fixed set of
tab stops, say every n columns. Should n be a variable or a...
| |
by: Bob Day |
last post by:
VS 2003, vb.net , sql msde...
I have an application with multiple threads running. Its a telephony
application where each thread represents a telephone line. For code that
would be the same for each thread, I put in Shared methods as below. It is
only now that I am realizing the complexity of multiple threads accessing
shared methods. ...
|
by: Jay |
last post by:
Good afternoon,
I have a radio list box called rblNavigateOptions and I need to be able to
simply set one of those radio items to disabled before any item is selected
by a user.
ie.
When the rblNavigateOptions control is created one or some of the items it
contains are disabled.
|
by: Anton Vredegoor |
last post by:
I'm trying to import text from an open office document (save as .sxw and
read the data from content.xml inside the sxw-archive using
elementtree and such tools).
The encoding that gives me the least problems seems to be cp1252,
however it's not completely perfect because there are still characters
in it like \93 or \94. Has anyone handled...
|
by: Asja |
last post by:
I have written an application that runs in a kind of peer-to-peer framework. Servers connect to a masterserver, which a client then queries to receive a list of servers. The client selects a server and connects to that server directly and both the server and client sever their connections with the masterserver.
Problem: I have the masterserver...
|
by: buzzard724 |
last post by:
Ul li drop down menu works in FF not quite in IE
Thank you for looking at this. The page is generated dynamically by php, js and jquery. The drop down menu ul- reports-li - works fine in FF. In IE7 the menu displays and if I am very very careful with how I move the mouse I can sometimes manage to catch the submenu - particularly the first...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |