| Author |
Outlook 2003 How do I?
|
|
|
| I have successfully generated e-mails from dBase Plus 2.5 for years using Outlook 98 and Windows 2000. The code is below.
We have recently changed to XP and Outlook 2003 and while the following code can be made to work (barely), after answering lots of questions from Outlook, it is marginal at best.
Can anyone help me to get dBase Plus to automatically generate an e-mail, and send it.
These are very simple e-mails with fixed text notifiying users that tasks have been complete.
Using a third party application would be acceptable.
It would be nice if dBase supported sending e-mails. I think it would be very useful.
Den
CODE THAT WORKED IN WINDOWS 2000 / OUTLOOK 98
....
eLogin = "The Users Name"
subject = "The message Subject"
text = "Some text"
oMapi = new OleAutoclient("mapi.session")
oMapi.logon("Microsoft Exchange Serverr")
oMsg = oMapi.outbox.messages.add()
oRecip = oMsg.recipients.add()
oRecip.name = eLogin
oRecip.resolve()
oMsg.subject = subject
oMsg.text = text
oMsg.send()
oMapi.logoff()
....
| |
| Dennis Glowack 2005-05-17, 3:23 am |
| Have you tried using FUNCky? I use it for the same purpose as you.
"Den" <dennis. spiess@reckittbencki
ser.com> wrote in message
news:bZ$x5q%23VFHA.320@news-server...
> I have successfully generated e-mails from dBase Plus 2.5 for years using
Outlook 98 and Windows 2000. The code is below.
> We have recently changed to XP and Outlook 2003 and while the following
code can be made to work (barely), after answering lots of questions from
Outlook, it is marginal at best.
>
> Can anyone help me to get dBase Plus to automatically generate an e-mail,
and send it.
>
> These are very simple e-mails with fixed text notifiying users that tasks
have been complete.
>
> Using a third party application would be acceptable.
>
> It would be nice if dBase supported sending e-mails. I think it would be
very useful.
>
> Den
>
> CODE THAT WORKED IN WINDOWS 2000 / OUTLOOK 98
> ...
> eLogin = "The Users Name"
> subject = "The message Subject"
> text = "Some text"
> oMapi = new OleAutoclient("mapi.session")
> oMapi.logon("Microsoft Exchange Serverr")
> oMsg = oMapi.outbox.messages.add()
> oRecip = oMsg.recipients.add()
> oRecip.name = eLogin
> oRecip.resolve()
> oMsg.subject = subject
> oMsg.text = text
> oMsg.send()
> oMapi.logoff()
> ...
| |
|
| No, does dBase still include a 'lite' version? I don't see it in the downloaded 2.5 installer.
I will continue to search.
Thanks for the lead / reply.
Den
Dennis Glowack Wrote:
> Have you tried using FUNCky? I use it for the same purpose as you.
>
> "Den" <dennis. spiess@reckittbencki
ser.com> wrote in message
> news:bZ$x5q%23VFHA.320@news-server...
> Outlook 98 and Windows 2000. The code is below.
> code can be made to work (barely), after answering lots of questions from
> Outlook, it is marginal at best.
> and send it.
> have been complete.
> very useful.
>
>
| |
| Eric Echols 2005-06-22, 8:24 pm |
| Examine the CDOSYS API, it is part of Windows 2000 and XP. You would want to use the SMTPMAIL Method.
Sorry I can't give you more to go on, but I haven't sent email from Dbase. I use C++ to do all my external calls.
Den Wrote:
> No, does dBase still include a 'lite' version? I don't see it in the downloaded 2.5 installer.
> I will continue to search.
> Thanks for the lead / reply.
> Den
>
> Dennis Glowack Wrote:
>
>
| |
|
| I purchased the Marshallsoft SMPT/POP3 Email engine for VdBase. It works perfectly.
Easy to install and has all the bells and whistles...
Well worth the $100 or so.
Den
| |
|
| What you always can do:
Generate html code (mailto or cgi) in dbase and call it into webbrowser. By mouseclick, the email pops up in the default mail program.
Al Mohr
Eric Echols Wrote:
> Examine the CDOSYS API, it is part of Windows 2000 and XP. You would want to use the SMTPMAIL Method.
>
> Sorry I can't give you more to go on, but I haven't sent email from Dbase. I use C++ to do all my external calls.
>
> Den Wrote:
>
>
|
|
|
|