A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Send Email using Outlook



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old December 24th 08, 10:31 AM posted to microsoft.public.outlook.program_forms
Raghuram Raichooti
external usenet poster
 
Posts: 2
Default Send Email using Outlook

Hi,

I have a requirement to send a mail. I am developing a Windows Application
in .NET v1.1.
Could anyone please let me know the process to send.

As we don’t have the option to use the SMTP server and need to share our MS
Office Outlook for this.

Thanks & Regards,
Raghuram Raichooti
  #2  
Old December 24th 08, 02:16 PM posted to microsoft.public.outlook.program_forms
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Send Email using Outlook

You can't share Outlook except for different users on the same computer.

You don't say which version of Outlook you plan to work with, or what
language you plan to use, and I assume from what you did say that you are
using a stand-alone program. If this is anything other than Outlook 2007 you
will see the security prompt when your code calls Send on the mail item,
unless you use one of the methods described at
http://www.outlookcode.com/article.aspx?id=52.

You also don't mention if the email is already in Outlook and just has to be
sent, or if it has to be created from scratch using Outlook object model
code, so it's hard to be very specific as to what to do. In general you can
use the object model to create an email and populate it with subject,
recipients, attachments if required and any body text needed. You can check
out the many code samples at www.outlookcode.com for a primer on using the
Outlook object model.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Raghuram Raichooti" wrote in message
...
Hi,

I have a requirement to send a mail. I am developing a Windows Application
in .NET v1.1.
Could anyone please let me know the process to send.

As we don’t have the option to use the SMTP server and need to share our
MS
Office Outlook for this.

Thanks & Regards,
Raghuram Raichooti


  #3  
Old December 30th 08, 05:06 AM posted to microsoft.public.outlook.program_forms
Raghuram Raichooti
external usenet poster
 
Posts: 2
Default Send Email using Outlook

Hi Ken

My requirement is as follows:
I had written a C# windows based application it keeps searching for new
records in the database. when it finds a new record it pops up with the
Message box. now i want to implement the same using the Email. when a new
record is added it should trigger a email to concern persons (Email ID's can
be hardcoded in the code)

Email content should picked form the database and then send to the email
id's which are predefined.

Problem is, this is just for our team and internal purpose. Our company does
not provide access to SMTP Server or we can create one. so for this i thought
to use our email client as an email sender.

I use Office 2007 as my email client.

Thanks in advance.
--
Raghuram Raichooti


"Ken Slovak - [MVP - Outlook]" wrote:

You can't share Outlook except for different users on the same computer.

You don't say which version of Outlook you plan to work with, or what
language you plan to use, and I assume from what you did say that you are
using a stand-alone program. If this is anything other than Outlook 2007 you
will see the security prompt when your code calls Send on the mail item,
unless you use one of the methods described at
http://www.outlookcode.com/article.aspx?id=52.

You also don't mention if the email is already in Outlook and just has to be
sent, or if it has to be created from scratch using Outlook object model
code, so it's hard to be very specific as to what to do. In general you can
use the object model to create an email and populate it with subject,
recipients, attachments if required and any body text needed. You can check
out the many code samples at www.outlookcode.com for a primer on using the
Outlook object model.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Raghuram Raichooti" wrote in message
...
Hi,

I have a requirement to send a mail. I am developing a Windows Application
in .NET v1.1.
Could anyone please let me know the process to send.

As we don’t have the option to use the SMTP server and need to share our
MS
Office Outlook for this.

Thanks & Regards,
Raghuram Raichooti



  #4  
Old December 30th 08, 02:02 PM posted to microsoft.public.outlook.program_forms
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Send Email using Outlook

New records in what database, the Outlook store (PST file or Exchange
mailbox)?

You want to handle things when a new email is added to the Inbox? Use either
the Inbox.Items.Add() event for that or the Application.NewMailEx() event
handler.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Raghuram Raichooti" wrote in message
...
Hi Ken

My requirement is as follows:
I had written a C# windows based application it keeps searching for new
records in the database. when it finds a new record it pops up with the
Message box. now i want to implement the same using the Email. when a new
record is added it should trigger a email to concern persons (Email ID's
can
be hardcoded in the code)

Email content should picked form the database and then send to the email
id's which are predefined.

Problem is, this is just for our team and internal purpose. Our company
does
not provide access to SMTP Server or we can create one. so for this i
thought
to use our email client as an email sender.

I use Office 2007 as my email client.

Thanks in advance.
--
Raghuram Raichooti


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
why outlook express can send out a oversized email to crash our exchange 2000 email server ? Sam[_6_] Outlook Express 1 April 18th 08 06:33 AM
outlook keeps deleting email I send from my office email address H2 Outlook - Installation 1 November 7th 07 09:08 AM
I can't send attachments with outlook, I can send test email Harm Logan Outlook - General Queries 5 March 21st 07 06:51 PM
My outlook email/forms do not send, just get a blank email. HELP! Lara Outlook - Using Forms 2 March 9th 06 06:02 PM
can't make outlook express default email app when send page by email merdrum Outlook Express 3 January 16th 06 02:28 AM


All times are GMT +1. The time now is 10:42 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.