mapping network drive inside application -is it possible?

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

franco
Posts: 818
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Location: Canada

Re: mapping network drive inside application -is it possible?

Post by franco »

now error says failed to connect to server.
I am confused. This is exactly what I would like to do.
I am trying this on my 3.2 machine, would this be a problem.
Franco
All The Best,
Franco
Canada
edk
Posts: 911
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland

Re: mapping network drive inside application -is it possible?

Post by edk »

Franco, I have prepared a working demo version.
I have created a Gmail account for testing purposes.
I've previously submitted the wrong AddAttachment method syntax (sorry, but I wrote from my faulty memory :oops: ).
Correct syntax should be:

Code: Select all

:AddAttachment ("c:\temp\readme.txt")
I have not tested on HMG 3.2, but since version 3.3.1 it works fine.
Attachments
CDO.7z
(966.3 KiB) Downloaded 428 times
User avatar
serge_girard
Posts: 3165
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: mapping network drive inside application -is it possible?

Post by serge_girard »

Thanks Krzysztof!

Serge
There's nothing you can do that can't be done...
franco
Posts: 818
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Location: Canada

Re: mapping network drive inside application -is it possible?

Post by franco »

Thank you so much for your help. I think I have to set my gmail account to insecure for sending mail because google locks this out on a secure
account.
This is whats so great about HMG Forum.
I will let you know how I make out ........... Franco ;)
All The Best,
Franco
Canada
franco
Posts: 818
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Location: Canada

Re: mapping network drive inside application -is it possible?

Post by franco »

SUCCESS.......... That was it I had to set the high security off in my gmail. I think the way to do this is to have separate gmail account for
using internal sending mail from.
It would be nice if you could hide the email it was sent from and show only the sm_from on the recievers email for responses. This would
make it so special email address would be only for sending.
Now we can make an email program using this for sending. Right now sending param will work great.
Thanx again for all your time and help .................. Franco
All The Best,
Franco
Canada
User avatar
tomtagaris
Posts: 107
Joined: Tue Aug 23, 2016 2:43 pm

Re: mapping network drive inside application -is it possible?

Post by tomtagaris »

About CDO.7z
how to Add Attachment more one files
is impossible ;
thanks
tom tagaris
edk
Posts: 911
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland

Re: mapping network drive inside application -is it possible?

Post by edk »

tomtagaris wrote: Tue Aug 06, 2019 8:27 am About CDO.7z
how to Add Attachment more one files
is impossible ;
thanks
tom tagaris
Just add next property, ex:

Code: Select all

:AddAttachment ("c:\temp\first.txt")
:AddAttachment ("c:\temp\second.txt")
and so on ...
Note to provide the full attachment path.
User avatar
tomtagaris
Posts: 107
Joined: Tue Aug 23, 2016 2:43 pm

Re: mapping network drive inside application -is it possible?

Post by tomtagaris »

ok thanks
tom
Post Reply