|
-
Feb 15th, 2002, 10:21 PM
#1
Thread Starter
New Member
ShellExecute Email Question
Ok, I've kinda run into a wall with this and can't quite figure out what I need to do to make this work... I'm using shellexecute to open the user's default email program and insert an email address, subject and body into the email. This is where my problem comes in... The body that I am inserting is multiple lines long, but when I insert it into the email program it comes out as one continuous line without any line breaks. Is there a way to make this work while still using ShellExecute ? If not can you suggest a better way ? Thanks a bunch...
Chris
-
Feb 15th, 2002, 10:28 PM
#2
Member
Looks pretty darned unintuitive: from the looks of it you actually put the values of CR and LF in as Hex in a string: http://www.vbforums.com/showthread.p...e+email+vbcrlf
-
Feb 15th, 2002, 10:37 PM
#3
Thread Starter
New Member
Thank you very much, that works great...
-
Feb 16th, 2002, 02:25 AM
#4
You could always try making your own email program in vb using the mapi controls.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Feb 16th, 2002, 02:49 AM
#5
Fanatic Member
Sending Email
CMon222,
can u give me the source code of sending the email thru ShellExecute command? Also how to attach the file with the message.
thanx in advance
regards,
prakash
-
Feb 16th, 2002, 08:05 AM
#6
Junior Member
-
Feb 16th, 2002, 09:58 AM
#7
Thread Starter
New Member
Nightwalker, I've thought about using MAPI, and also Winsock and actually tried to add both into my program when I couldn't get shellexecute to work the way I wanted it, but I decided against using them for various reasons. I tested them both out, but decided it simply isn't the best way to go with the program I'm working on.
Chris
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|