473,725 Members | 1,980 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

email outlook express

Hello evrybody,
First, I hope you will understand my English because I come from Belgium !
:-)
Here is what I want to know if you have the kindess to help me ! :-)
I use the code above to mail with outlook express ...
x = Shell("C:\Progr am Files\Outlook Express\msimn.e xe
/mailurl:mailto: de************* **@name.be?subj ect=Hello&Body= mytext")
But I don't find the way to put te adress of the sender, because if I don't
put the adress of the sender (myself) outlook express
use the default adress and I want to put a specific (another) adress :-)
I hope someone can help me ! :-)
Have a nice day ! :-)
Le Naja

--
------------------------------
~ Le Naja ~
Email: http://users.skynet.be/mew/email.html
Post rédigé le samedi 7 février 2004
Nous fêtons: Eugenie
------------------------------
Jul 17 '05 #1
13 9125
~ Le Naja ~ wrote:
Hello evrybody,
First, I hope you will understand my English because I come from Belgium !
:-)
Here is what I want to know if you have the kindess to help me ! :-)
I use the code above to mail with outlook express ...
x = Shell("C:\Progr am Files\Outlook Express\msimn.e xe
/mailurl:mailto: de************* **@name.be?subj ect=Hello&Body= mytext")
But I don't find the way to put te adress of the sender, because if I don't
put the adress of the sender (myself) outlook express
use the default adress and I want to put a specific (another) adress :-)
I hope someone can help me ! :-)
Have a nice day ! :-)
Le Naja

I think you can use the MAPI component to control outlook express. It is
a some work to send one message, but the help file is quite clear.

Best regards
Jul 17 '05 #2
Use the MAPI control from the Components list. Place the MAPISession and the
MAPIMessages controls on your form and then call this procedure.

'CLIENTEMAIL is the address you want to send the email to

Public Sub SendAnEmail()
On Error GoTo ErrorHandler
With frmMain
.MAPISession1.S ignOn
If Err <> 0 Then
MsgBox "Logon Failure: " + Error$
End If
.MAPIMessages1. SessionID = .MAPISession1.S essionID
.MAPIMessages1. MsgIndex = -1
.MAPIMessages1. Compose
.MAPIMessages1. RecipDisplayNam e = CLIENTEMAIL
.MAPIMessages1. RecipAddress = CLIENTEMAIL
.MAPIMessages1. Send True
.MAPISession1.S ignOff
End With

Exit Sub

ErrorHandler:

End Sub
"~ Le Naja ~" <Cliquez_sur_ma _signature> wrote in message
news:40******** *************@n ews.skynet.be.. .
Hello evrybody,
First, I hope you will understand my English because I come from Belgium !
:-)
Here is what I want to know if you have the kindess to help me ! :-)
I use the code above to mail with outlook express ...
x = Shell("C:\Progr am Files\Outlook Express\msimn.e xe
/mailurl:mailto: de************* **@name.be?subj ect=Hello&Body= mytext")
But I don't find the way to put te adress of the sender, because if I don't put the adress of the sender (myself) outlook express
use the default adress and I want to put a specific (another) adress :-)
I hope someone can help me ! :-)
Have a nice day ! :-)
Le Naja

--
------------------------------
~ Le Naja ~
Email: http://users.skynet.be/mew/email.html
Post rédigé le samedi 7 février 2004
Nous fêtons: Eugenie
------------------------------

Jul 17 '05 #3
Thank you ...but I think I don't explain correctly want is my purpose ! :-)
How can I put in this source (automatically) one of my adresses ? :-)
Because I use this source like that, Outlook Express put my default adress
! :-)
Have a nice day ! :-)

--
------------------------------
~ Le Naja ~
Email: http://users.skynet.be/mew/email.html
Post rédigé le dimanche 8 février 2004
Nous fêtons: Jacqueline
------------------------------
"edoepke" <ed*****@comcas t.net> a écrit dans le message de
news:dK******** ************@co mcast.com...
Use the MAPI control from the Components list. Place the MAPISession and the MAPIMessages controls on your form and then call this procedure.

'CLIENTEMAIL is the address you want to send the email to

Public Sub SendAnEmail()
On Error GoTo ErrorHandler
With frmMain
.MAPISession1.S ignOn
If Err <> 0 Then
MsgBox "Logon Failure: " + Error$
End If
.MAPIMessages1. SessionID = .MAPISession1.S essionID
.MAPIMessages1. MsgIndex = -1
.MAPIMessages1. Compose
.MAPIMessages1. RecipDisplayNam e = CLIENTEMAIL
.MAPIMessages1. RecipAddress = CLIENTEMAIL
.MAPIMessages1. Send True
.MAPISession1.S ignOff
End With

Exit Sub

ErrorHandler:

End Sub
"~ Le Naja ~" <Cliquez_sur_ma _signature> wrote in message
news:40******** *************@n ews.skynet.be.. .
Hello evrybody,
First, I hope you will understand my English because I come from Belgium ! :-)
Here is what I want to know if you have the kindess to help me ! :-)
I use the code above to mail with outlook express ...
x = Shell("C:\Progr am Files\Outlook Express\msimn.e xe
/mailurl:mailto: de************* **@name.be?subj ect=Hello&Body= mytext")
But I don't find the way to put te adress of the sender, because if I

don't
put the adress of the sender (myself) outlook express
use the default adress and I want to put a specific (another) adress :-)
I hope someone can help me ! :-)
Have a nice day ! :-)
Le Naja

--
------------------------------
~ Le Naja ~
Email: http://users.skynet.be/mew/email.html
Post rédigé le samedi 7 février 2004
Nous fêtons: Eugenie
------------------------------


Jul 17 '05 #4

"Dikkie Dik" <Ab***@SpamBust ers.com> a écrit dans le message de
news:40******** *************@d reader-2.news.scarlet-internet.nl...
~ Le Naja ~ wrote:

I think you can use the MAPI component to control outlook express. It is
a some work to send one message, but the help file is quite clear.

Best regards


Thank you very much ...but I want (if possible) to have automatically one of
my adresses (sender)
in place of the default adress ! :-)

--
------------------------------
~ Le Naja ~
Email: http://users.skynet.be/mew/email.html
Post rédigé le dimanche 8 février 2004
Nous fêtons: Jacqueline
------------------------------
Jul 17 '05 #5
Misschien even de vertaling in het nederlands ook zetten dan kunnen alle
nederlandstalig en het misschien beter verstaan en oplossen.

Maybe putting the translation into dutch will be more readable to som dutch
posters and maybe fully understand wath you want

Greets John
"~ Le Naja ~" <Cliquez_sur_ma _signature> schreef in bericht
news:40******** *************@n ews.skynet.be.. .
Hello evrybody,
First, I hope you will understand my English because I come from Belgium !
:-)
Here is what I want to know if you have the kindess to help me ! :-)
I use the code above to mail with outlook express ...
x = Shell("C:\Progr am Files\Outlook Express\msimn.e xe
/mailurl:mailto: de************* **@name.be?subj ect=Hello&Body= mytext")
But I don't find the way to put te adress of the sender, because if I don't put the adress of the sender (myself) outlook express
use the default adress and I want to put a specific (another) adress :-)
I hope someone can help me ! :-)
Have a nice day ! :-)
Le Naja

--
------------------------------
~ Le Naja ~
Email: http://users.skynet.be/mew/email.html
Post rédigé le samedi 7 février 2004
Nous fêtons: Eugenie
------------------------------

Jul 17 '05 #6
Hello iedereen,
Hier is wat ik wil weten of hebt u kindess om me te helpen! :-)
Ik gebruik hierboven de code aan Outlook Express vooruitzichten. ..
Maar ik vind niet de manier om te adress van de afzender te zetten,
x = Shell("C:\Progr am Files\Outlook Express\msimn.e xe
/mailurl:mailto: de************* **@name.be?subj ect=Hello&Body= mytext")
omdat als ik niet adress van uitdrukkelijke gebruik het van afzender (zelf)
vooruitzichten
het gebrek adress zette en ik specifiek (een andere) wil zetten adress:-)
Ik hoop iemand me kan helpen! :-)
Vriendelijk ! :-)
--
------------------------------
~ Le Naja ~
Email: http://users.skynet.be/mew/email.html
Post rédigé le dimanche 8 février 2004
Nous fêtons: Jacqueline
------------------------------
"John Lauwers" <no****@fictief .com> a écrit dans le message de
news:40******** *************@n ews.skynet.be.. .
Misschien even de vertaling in het nederlands ook zetten dan kunnen alle
nederlandstalig en het misschien beter verstaan en oplossen.

Maybe putting the translation into dutch will be more readable to som dutch posters and maybe fully understand wath you want

Greets John
"~ Le Naja ~" <Cliquez_sur_ma _signature> schreef in bericht
news:40******** *************@n ews.skynet.be.. .
Hello evrybody,
First, I hope you will understand my English because I come from Belgium ! :-)
Here is what I want to know if you have the kindess to help me ! :-)
I use the code above to mail with outlook express ...
x = Shell("C:\Progr am Files\Outlook Express\msimn.e xe
/mailurl:mailto: de************* **@name.be?subj ect=Hello&Body= mytext")
But I don't find the way to put te adress of the sender, because if I

don't
put the adress of the sender (myself) outlook express
use the default adress and I want to put a specific (another) adress :-)
I hope someone can help me ! :-)
Have a nice day ! :-)
Le Naja

--
------------------------------
~ Le Naja ~
Email: http://users.skynet.be/mew/email.html
Post rédigé le samedi 7 février 2004
Nous fêtons: Eugenie
------------------------------


Jul 17 '05 #7
dim destinationSTR as string

destinationSTR = "no****@fictief .com"
x = Shell("C:\Progr am Files\Outlook Express\msimn.e xe/mailurl:mailto: " &
destinationSTR & "?subject=Hello &Body=mytext ")

Greets John
--
-----------------------------------------------
John Lauwers
Robotronic Nv
jo**@robotronic .be

"~ Le Naja ~" <Cliquez_sur_ma _signature> schreef in bericht
news:40******** *************@n ews.skynet.be.. .
Hello iedereen,
Hier is wat ik wil weten of hebt u kindess om me te helpen! :-)
Ik gebruik hierboven de code aan Outlook Express vooruitzichten. ..
Maar ik vind niet de manier om te adress van de afzender te zetten,
x = Shell("C:\Progr am Files\Outlook Express\msimn.e xe
/mailurl:mailto: de************* **@name.be?subj ect=Hello&Body= mytext")
omdat als ik niet adress van uitdrukkelijke gebruik het van afzender (zelf) vooruitzichten
het gebrek adress zette en ik specifiek (een andere) wil zetten adress:-)
Ik hoop iemand me kan helpen! :-)
Vriendelijk ! :-)
--
------------------------------
~ Le Naja ~
Email: http://users.skynet.be/mew/email.html
Post rédigé le dimanche 8 février 2004
Nous fêtons: Jacqueline
------------------------------
"John Lauwers" <no****@fictief .com> a écrit dans le message de
news:40******** *************@n ews.skynet.be.. .
Misschien even de vertaling in het nederlands ook zetten dan kunnen alle
nederlandstalig en het misschien beter verstaan en oplossen.

Maybe putting the translation into dutch will be more readable to som dutch
posters and maybe fully understand wath you want

Greets John
"~ Le Naja ~" <Cliquez_sur_ma _signature> schreef in bericht
news:40******** *************@n ews.skynet.be.. .
Hello evrybody,
First, I hope you will understand my English because I come from Belgium !
:-)
Here is what I want to know if you have the kindess to help me ! :-)
I use the code above to mail with outlook express ...
x = Shell("C:\Progr am Files\Outlook Express\msimn.e xe
/mailurl:mailto: de************* **@name.be?subj ect=Hello&Body= mytext")
But I don't find the way to put te adress of the sender, because if I

don't
put the adress of the sender (myself) outlook express
use the default adress and I want to put a specific (another) adress

:-) I hope someone can help me ! :-)
Have a nice day ! :-)
Le Naja

--
------------------------------
~ Le Naja ~
Email: http://users.skynet.be/mew/email.html
Post rédigé le samedi 7 février 2004
Nous fêtons: Eugenie
------------------------------



Jul 17 '05 #8
By the way I tought your dutch would be better (cause you are from belgium)
but it seems to be wurse then your English :<)
Greets John

"~ Le Naja ~" <Cliquez_sur_ma _signature> schreef in bericht
news:40******** *************@n ews.skynet.be.. .
Hello iedereen,
Hier is wat ik wil weten of hebt u kindess om me te helpen! :-)
Ik gebruik hierboven de code aan Outlook Express vooruitzichten. ..
Maar ik vind niet de manier om te adress van de afzender te zetten,
x = Shell("C:\Progr am Files\Outlook Express\msimn.e xe
/mailurl:mailto: de************* **@name.be?subj ect=Hello&Body= mytext")
omdat als ik niet adress van uitdrukkelijke gebruik het van afzender (zelf) vooruitzichten
het gebrek adress zette en ik specifiek (een andere) wil zetten adress:-)
Ik hoop iemand me kan helpen! :-)
Vriendelijk ! :-)
--
------------------------------
~ Le Naja ~
Email: http://users.skynet.be/mew/email.html
Post rédigé le dimanche 8 février 2004
Nous fêtons: Jacqueline
------------------------------
"John Lauwers" <no****@fictief .com> a écrit dans le message de
news:40******** *************@n ews.skynet.be.. .
Misschien even de vertaling in het nederlands ook zetten dan kunnen alle
nederlandstalig en het misschien beter verstaan en oplossen.

Maybe putting the translation into dutch will be more readable to som dutch
posters and maybe fully understand wath you want

Greets John
"~ Le Naja ~" <Cliquez_sur_ma _signature> schreef in bericht
news:40******** *************@n ews.skynet.be.. .
Hello evrybody,
First, I hope you will understand my English because I come from Belgium !
:-)
Here is what I want to know if you have the kindess to help me ! :-)
I use the code above to mail with outlook express ...
x = Shell("C:\Progr am Files\Outlook Express\msimn.e xe
/mailurl:mailto: de************* **@name.be?subj ect=Hello&Body= mytext")
But I don't find the way to put te adress of the sender, because if I

don't
put the adress of the sender (myself) outlook express
use the default adress and I want to put a specific (another) adress

:-) I hope someone can help me ! :-)
Have a nice day ! :-)
Le Naja

--
------------------------------
~ Le Naja ~
Email: http://users.skynet.be/mew/email.html
Post rédigé le samedi 7 février 2004
Nous fêtons: Eugenie
------------------------------



Jul 17 '05 #9
haha ! :-))))))) No, my friend, I am from south of Belgium, and here,
we don't speak dutch currently :-)
Best regards :-)
--
------------------------------
~ Le Naja ~
Email: http://users.skynet.be/mew/email.html
Post rédigé le dimanche 8 février 2004
Nous fêtons: Jacqueline
------------------------------
"John Lauwers" <no****@fictief .com> a écrit dans le message de
news:40******** **************@ news.skynet.be. ..
By the way I tought your dutch would be better (cause you are from belgium) but it seems to be wurse then your English :<)
Greets John

"~ Le Naja ~" <Cliquez_sur_ma _signature> schreef in bericht
news:40******** *************@n ews.skynet.be.. .
Hello iedereen,
Hier is wat ik wil weten of hebt u kindess om me te helpen! :-)
Ik gebruik hierboven de code aan Outlook Express vooruitzichten. ..
Maar ik vind niet de manier om te adress van de afzender te zetten,
x = Shell("C:\Progr am Files\Outlook Express\msimn.e xe
/mailurl:mailto: de************* **@name.be?subj ect=Hello&Body= mytext")
omdat als ik niet adress van uitdrukkelijke gebruik het van afzender

(zelf)
vooruitzichten
het gebrek adress zette en ik specifiek (een andere) wil zetten adress:-)
Ik hoop iemand me kan helpen! :-)
Vriendelijk ! :-)
--
------------------------------
~ Le Naja ~
Email: http://users.skynet.be/mew/email.html
Post rédigé le dimanche 8 février 2004
Nous fêtons: Jacqueline
------------------------------
"John Lauwers" <no****@fictief .com> a écrit dans le message de
news:40******** *************@n ews.skynet.be.. .
Misschien even de vertaling in het nederlands ook zetten dan kunnen alle nederlandstalig en het misschien beter verstaan en oplossen.

Maybe putting the translation into dutch will be more readable to som

dutch
posters and maybe fully understand wath you want

Greets John
"~ Le Naja ~" <Cliquez_sur_ma _signature> schreef in bericht
news:40******** *************@n ews.skynet.be.. .
> Hello evrybody,
> First, I hope you will understand my English because I come from

Belgium
!
> :-)
> Here is what I want to know if you have the kindess to help me ! :-)
> I use the code above to mail with outlook express ...
> x = Shell("C:\Progr am Files\Outlook Express\msimn.e xe
> /mailurl:mailto: de************* **@name.be?subj ect=Hello&Body= mytext") > But I don't find the way to put te adress of the sender, because if I don't
> put the adress of the sender (myself) outlook express
> use the default adress and I want to put a specific (another) adress

:-) > I hope someone can help me ! :-)
> Have a nice day ! :-)
> Le Naja
>
> --
> ------------------------------
> ~ Le Naja ~
> Email: http://users.skynet.be/mew/email.html
> Post rédigé le samedi 7 février 2004
> Nous fêtons: Eugenie
> ------------------------------
>
>



Jul 17 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
8478
by: Neil Greenough | last post by:
I currently have the following VB code in a MS Access Database which I use to send emails. Nonetheless, it opens Outlook and I would like it to send an email using Outlook Express. Could anyone please oblige in ammending the code for me, so that it uses Outlook Express 5? Thanks ______________ Private Sub cmdSendEmail_Click()
2
4310
by: Steve | last post by:
How do you programatically save files that are attached to an email to a specified folder? It could be one file or multiple files attached to the email. Can it be done if Outlook Express is being used or does Outlook have to be used? Thanks for all help! Steve
1
5345
by: Jay McGrath | last post by:
Help - trying to send a simple text email with with as little user intervention. I am trying to create a button in my Access application that will automatically send a simple text email. It works except that I have two warning nuisances: 1) Program is trying to access email Addresses you have stored in Outlook. Allow access for ... 2) A program is trying to automatically send email on your behalf ... Heck, I am only trying to a send...
8
2205
by: Chris Marsh | last post by:
Help... I am receiving this error "550 5.7.1 Unable to relay for synergytestacct@yahoo.com" when I try to send outside email directly from the website project. Keep in mind this works fine for local addresses within our domain but it is failing for outside address such as the example above. I created the above account for testing, I can send and receive email from my Outlook / Exchange 2000 account to this address however I cannot...
4
7291
by: roni | last post by:
i dont like to use ocx controlx. is there new dll for vb.net that do the job ? or newer code, to send email throught outlook express.
4
1574
by: Charles A. Lackman | last post by:
Hello, I am trying to format an email and have a .net application open up Outlook or Outlook Express so that the user can simply click Send and have the formatted email send from their email account. I am currently doing this the following way: Dim sParams As String Dim TheTo, TheSubject, TheBody As String TheTo = txtEmail.Text
1
2873
by: Alexander Vasilevsky | last post by:
How extract email address from the address book in Outlook Express? http://www.alvas.net - Audio tools for C# and VB.Net developers
2
3329
by: ManningFan | last post by:
I built a nifty little SPAM killer with Access linking into Outlook while I was at work the other day (boring day, loads of time to kill...) but now I'd like to use it at home where we use Outlook Express. The big problem seems to be this missing reference: microsoft outlook 11.0 object library Is there anything similar for Outlook Express? I know that would just be WAAY to easy and Microsoft tends to make things difficult, but I'm
0
1183
by: Bibin | last post by:
I want to send email via Outlook Express and not by Outlook in VB.NET (windows application). I also want to attach files with the email. The mail (in Outlook Express) needs to be displayed before sending the email.
0
8752
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,...
0
9401
Oralloy
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9257
jinu1996
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...
1
9174
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,...
0
9111
tracyyun
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...
0
8096
agi2029
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...
0
6011
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();...
1
3221
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
2
2634
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.