PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
[7.5 and 8.0] File attach
[7.5 and 8.0] File attach
Started by Gerard van Woudenberg, Jun., 01 2004 2:51 PM - 6 replies
Connect yourself…
Gerard van Woudenberg
#1
Posted on June, 01 2004 - 2:51 PM
Good afternoon programmers,
I' am using a simple shellexecute command to send an email. I have no problem with the following:
"mailto:jp@unitas.nl &cc=info@unitas.nl &bcc=marianne@unitas.nl"+...
"?subject=Subject : LST &body=Text: LST table of contents "
However whatever i do to use &attach=c:\test.txt in this line e.g.;
After &bcc or &body like
&attach=c:\test.txt or
"&attach="+c:\test.txt
It does not work. I think i need to pick up the file but do not know how.
?? maybe fopen __ Fread in var and the &attach=var
I do not know your comments are appriciated.
Kind regards
Gerard van Woudenberg
Our homebase
Report
0
0
Peter van Vuuren
#2
Posted on June, 01 2004 - 3:43 PM
Hi Gerard,
"mailto:jp@unitas.nl &cc=info@unitas.nl &bcc=marianne@unitas.nl"+...
"?subject=Subject : LST &body=Text: LST table of contents "
However whatever i do to use &attach=c:\test.txt in this line e.g.;
After &bcc or &body like
&attach=c:\test.txt or
"&attach="+c:\test.txt
It does not work. I think i need to pick up the file but do not know how.
The default 'Mailto' does not have the possibility to attach files. Maybe
Outlook does have some extra features? (&attachment="c:\test.txt") ?
(
www.ianr.unl.edu/internet/mailto.html
)
Peter
Report
0
0
Gerard van Woudenberg
#3
Posted on June, 01 2004 - 5:27 PM
Thanks Peter,
Nice link. Looks like that it is indeed not possible. If it is i will report back.
Regards
Gerard
Report
0
0
Guenter Predl
#4
Posted on June, 01 2004 - 8:55 PM
Hi Gerard,
WinDev has built-in commands for sending e-mails. An unlimited number of attachments can be sent and received with these e-mail-commands. Look for Email.attach in the e-mail structure. Works really fine. Finished a program with sending and receiving EDIFACT-files as attachments to e-mails today's morning - it's great! You are able to scan e-mails (EmailReadFirst(..) -> EmailReadNext(..)) on your mail-account, to delete e-mails (EmailDeleteMessage(..)) on the server though reading the attachments into the program. Everything's here and I have not seen any bugs! Cannot see the necessity to make your life difficult with mailto: ...
Best regards,
Guenter
Good afternoon programmers,
I' am using a simple shellexecute command to send an email. I have no problem with the following:
"mailto:jp@unitas.nl &cc=info@unitas.nl &bcc=marianne@unitas.nl"+...
"?subject=Subject : LST &body=Text: LST table of contents "
However whatever i do to use &attach=c:\test.txt in this line e.g.;
After &bcc or &body like
&attach=c:\test.txt or
"&attach="+c:\test.txt
It does not work. I think i need to pick up the file but do not know how.
?? maybe fopen __ Fread in var and the &attach=var
I do not know your comments are appriciated.
Kind regards
Gerard van Woudenberg
Report
0
0
Gerard van Woudenberg
#5
Posted on June, 02 2004 - 11:03 AM
Good morning Guenter,
Thanks for your awnser. The thing is that I am trying to send an email from a user without having to set a series of parameters like user, passwords etc. I just want to able, to send an email from a simple application. As far as I can see this is not possible with your suggestion, please let me know if I am wrong.
Kind regards
Gerard van Woudenberg
Our homebase
Report
0
0
paulo oliveira
#6
Posted on June, 02 2004 - 9:48 PM
I think that you have to use "OLE" , just check the windev example "WD7 OUTLOOK"
Gerard van Woudenberg <gerard@unitas.nl> wrote:
Good morning Guenter,
Thanks for your awnser. The thing is that I am trying to send an email from
a user without
>having to set a series of parameters like user, passwords etc. I just want
to able,
to send an email from a simple application. As far as I can see this is
not possible
with your suggestion, please let me know if I am wrong.
Kind regards
Gerard van Woudenberg
Our homebase
Report
0
0
Gerard van Woudenberg
#7
Posted on June, 08 2004 - 12:56 PM
Good afternoon programmers,
I' am using a simple shellexecute command to send an email. I have no problem with the following:
"mailto:jp@unitas.nl &cc=info@unitas.nl &bcc=marianne@unitas.nl"+...
"?subject=Subject : LST &body=Text: LST table of contents "
However whatever i do to use &attach=c:\test.txt in this line e.g.;
After &bcc or &body like
&attach=c:\test.txt or
"&attach="+c:\test.txt
It does not work. I think i need to pick up the file but do not know how.
?? maybe fopen __ Fread in var and the &attach=var
I do not know your comments are appriciated.
Kind regards
Gerard van Woudenberg
Report
0
0
→ Go back to WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text