Hi
Is there a way to e-mail using outlook2002 from within vb.net without
getting the nasty "An application is trying to access you outlook..."
message?
Thanks
Regards 14 6955
John
you can't prevent the Outlook dialog, but you can write
code to fill it in programmaticall y so it only appears
for an instant. It needs to run in a separate thread but
VB.Net can do that easily enough.
I have code for this
Dermot Balson
Free VBA code for user interfaces, internet connectivity,
encryption http://www.webace.com.au/~balson/Ins...l/Default.html
Last updated August 2003 -----Original Message----- Hi
Is there a way to e-mail using outlook2002 from within
vb.net withoutgetting the nasty "An application is trying to access
you outlook..."message?
Thanks
Regards
.
Why not just use the SmtpMail class and send it through whatever server
Outlook uses?
"John" <jo**@nospam.in fovis.co.uk> wrote in message
news:uB******** ******@tk2msftn gp13.phx.gbl... Hi
Is there a way to e-mail using outlook2002 from within vb.net without getting the nasty "An application is trying to access you outlook..." message?
Thanks
Regards
Keeping a record in outlook is handy for future reference. In this way all
emails sent either from the app or from outlook remain in the same place.
Regards
"Stephen" <gr******@bella tlantic.net> wrote in message
news:es******** ******@tk2msftn gp13.phx.gbl... Why not just use the SmtpMail class and send it through whatever server Outlook uses? "John" <jo**@nospam.in fovis.co.uk> wrote in message news:uB******** ******@tk2msftn gp13.phx.gbl... Hi
Is there a way to e-mail using outlook2002 from within vb.net without getting the nasty "An application is trying to access you outlook..." message?
Thanks
Regards
Hi Dermot
That is great. Would it be possible to post the code?
Thanks
Regards
"dermot" <de************ ********@hotmai l.com> wrote in message
news:0e******** *************** *****@phx.gbl.. . John
you can't prevent the Outlook dialog, but you can write code to fill it in programmaticall y so it only appears for an instant. It needs to run in a separate thread but VB.Net can do that easily enough.
I have code for this
Dermot Balson Free VBA code for user interfaces, internet connectivity, encryption http://www.webace.com.au/~balson/Ins...l/Default.html Last updated August 2003
-----Original Message----- Hi
Is there a way to e-mail using outlook2002 from within vb.net withoutgetting the nasty "An application is trying to access you outlook..."message?
Thanks
Regards
.
Hi Stephen, John,
Or you could do both. Send it with SmtpMail and use Outlook Automation to
stuff a copy in the Sent folder.
Regards,
Fergus
If it can be done in one step then obviously it is the preferable choice.
Normally sending an email via outlook will do both in one go.
"Fergus Cooney" <fi******@tesco .net> wrote in message
news:uH******** *****@TK2MSFTNG P11.phx.gbl... Hi Stephen, John,
Or you could do both. Send it with SmtpMail and use Outlook Automation
to stuff a copy in the Sent folder.
Regards, Fergus
Hi John,
I agree - one step is better than two steps. But if two steps are needed
to get around that pesky dialogue, then let's go dancing!
Dermot's solution sounds interesting. An alternative is a wonderful little
utility called "Push The Freakin' Button" which can look out for given
dialogues and press a specific button. It's on many download sites.
Unfortunately, the source isn't available for this one either. :-(
Regards,
Fergus
Fergus,
What John does is his own decision.
But I find it always wrong to fill up an exchange server with mail that is
batch mail.
When you send mail using Outlook then every independent mail message is
stored in the exchange server. The send address is always the same and only
the address from the receiver is different, but that is bad traceable with
only the Exchange server.
I find it much nicer to keep that information in let's say a CRM system by
instance on a SQL server.
Than you only have to keep one mail and the information to whom you did send
that.
The SMTP mail server is not made for nothing.
But it's of course a matter of taste.
You know, some like the tango others the quickstep.
:-)
Cor This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: MLH |
last post by:
I print to a device that creates a PDF. Knowing the filename, how can
I then embed the PDF into the body text of an OutLook Express outbound
email & send to a specified address in a table? I want recipient
addressees to see the report in the body text window of their email
when they open it. I was thinking also about attaching the PDF file to
the eMail for those having "text only" email software. I need to
automate both of these tasks from...
|
by: Ronnie |
last post by:
I am faced with quite a conundrum. I have been assigned to develop a
contact database, that can be queried using many different criterion.
Now the hardest part is, my clients want to view the contact
information including their e-mails and eventually send them e-mails.
Now the output could be a group of 50 people that matched the
criterion, and my client wants to be able to e-mail to all of them,
preferably with a single click, just like...
|
by: Strasser |
last post by:
In Access2000 mass emailing worked perfectly (very powerful tool!).
Doesn't work when using XP version of both Access and Outlook, even
though I checked the box to ensure that I was sending the email. Any
ideas?
Thanks in advance.
|
by: Wayne |
last post by:
I am experiencing an intermittent problem when emailing snapshot
reports using Sendobject. Outlook opens with the snapshot of the
report attached but when I click the "Send" button on the Outlook
toolbar it only works intermittently ie. sometimes the email is sent
and others nothing happens. Using File/Send on the Outlook menu bar
also works intermittently. However if I use the keyboard shortcut:
Ctrl + Enter it works every time and the...
|
by: adrian.williams2 |
last post by:
Hi,
I'm having trouble trying to email a report via access...
I get a Outlook message stating 'a program is trying to automatically
send e-mail on your behalf. Do you want allow this?
This report will be emailed in the early hours of the morning when no
users are around to click 'Yes!'Is there a way to prevent this from
happening, so the report gets emailed without user interaction?
| |
by: Mike Moore |
last post by:
What is the best way to launch outlook from an asp.net web page? Can you do this using MAPI or is there a control that you can purchase? We are unable to use SMTP. We use MS Exhange and MAPI currently for our client/server apps.
|
by: John |
last post by:
Hi
I am using the latest redemption. I am using the below code in vb.net to
send mail in html format. The problem is that text does not get sent as html
and html tags appear as they are in the message like '<HTML>' etc. Any idea
what I am doing wrong?
Thanks
Regards
|
by: Liam.M |
last post by:
Hey guys,
If anyone could spare sometime to help me out, it would be very much
appreciated.....what I am trying to do is automate a "Command" that
sends me an Email. I have created a Query that grabs all the records I
am after...now all I need to do is get some code that will allow me
loop through each of these records shown by the query and pass certain
fields from these records into the Body of my email command...which
then emails...
|
by: marjbell |
last post by:
I have a Access database of email addresses that I would like to mass
email to customers. Can Access be used through Outlook? or can it just
be done with Access? I know it is possible to use MailMerge for
snailMail.
|
by: JohnClingeleffer |
last post by:
I use VBA in MS Access to send e-mails. Relevant code for error is:
Set oItem= objOL.CreateItem(0) ' Const olMailItem
With oItem
errMsg = "Error populating Microsoft Outlook mail item components."
.To = Trim(emAddress)
.Subject = emSubject
.Body = MergeBody(PIN, msgBody)
If Not Isnull(attachmentPath) then
.attachments.Add attachmentPath
|
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |