|
| Author |
Message |
Teddy
Joined: 04 Oct 2007 Posts: 5
|
Posted: Tue Oct 24, 2006 6:01 am Post subject: Log file be sent |
|
|
Hello, is there some way to let a log file created, be sent to a
certain email address each time it's created??
Archived from group: microsoft>public>vb>enterprise |
|
| Back to top |
|
 |
Ken Halter
Joined: 04 Oct 2007 Posts: 4150
|
Posted: Tue Oct 24, 2006 12:35 pm Post subject: Re: Log file be sent |
|
|
"Teddy" wrote in message @e3g2000cwe.googlegroups.com...
> Hello, is there some way to let a log file created, be sent to a
> certain email address each time it's created??
Are you creating the logfile?... actually, you need to be more specific with
the questions... but, in general, you can generate a log and send it
anywhere you want.
--
Ken Halter - Please keep all discussions in the groups..
In Loving Memory - http://www.vbsight.com/Remembrance.htm |
|
| Back to top |
|
 |
Ted
Joined: 04 Oct 2007 Posts: 4
|
Posted: Tue Oct 24, 2006 2:05 pm Post subject: Re: Log file be sent |
|
|
Well, I made a program that would create a log file when it meets a
certain size, I just need it to be sent to a certain email, how can I
achieve that?
Thank you |
|
| Back to top |
|
 |
Andrew D. Newbould
Joined: 04 Oct 2007 Posts: 11
|
Posted: Wed Oct 25, 2006 1:25 am Post subject: Re: Log file be sent |
|
|
In message , Ted
writes
>Well, I made a program that would create a log file when it meets a
>certain size, I just need it to be sent to a certain email, how can I
>achieve that?
>Thank you
>
Use CDOSYS objects (CDO For Windows 2000) to define an email and attach
the log file to it. You will obviously need to provide some parameters
in your application to configure the appropriate SMTP server to use (not
safe hard coding it).
Kind Regards,
--
Andrew D. Newbould E-Mail: NO-usenet-SPAM@zadsoft.com
ZAD Software Systems Web : www.zadsoft.com |
|
| Back to top |
|
 |
Murtuza
Joined: 04 Oct 2007 Posts: 8
|
Posted: Wed Oct 25, 2006 5:54 am Post subject: Re: Log file be sent |
|
|
Teddy wrote:
> Hello, is there some way to let a log file created, be sent to a
> certain email address each time it's created??
There are a lot of code snippet and ready to use modules available to
send an SMTP mail from any internet connected machine.
However it may not work due to many reasons such as user may not be
connected to the internet directly, instead may be using a proxy or
something. Port access may have been disabled by the firewall and many
such things may restrict you from mailing. On the controry, you should
ask the user to mail the file when you need it so it is on the user to
decide how to mail the file.
If you are still interested in getting the file by mail, request me
for the code snippet and i will provide you code to send a file using
SMTP protocol to your mailbox. |
|
| Back to top |
|
 |
Ted
Joined: 04 Oct 2007 Posts: 4
|
Posted: Wed Oct 25, 2006 7:08 am Post subject: Re: Log file be sent |
|
|
Murtuza wrote:
> Teddy wrote:
>
> > Hello, is there some way to let a log file created, be sent to a
> > certain email address each time it's created??
>
> There are a lot of code snippet and ready to use modules available to
> send an SMTP mail from any internet connected machine.
>
> However it may not work due to many reasons such as user may not be
> connected to the internet directly, instead may be using a proxy or
> something. Port access may have been disabled by the firewall and many
> such things may restrict you from mailing. On the controry, you should
> ask the user to mail the file when you need it so it is on the user to
> decide how to mail the file.
>
> If you are still interested in getting the file by mail, request me
> for the code snippet and i will provide you code to send a file using
> SMTP protocol to your mailbox.
Ok, thanks, you can send me the code snippet... |
|
| Back to top |
|
 |
Ted
Joined: 04 Oct 2007 Posts: 4
|
Posted: Wed Oct 25, 2006 7:05 pm Post subject: Re: Log file be sent |
|
|
Any other help? anyone can send me this snippet please?
Thanks
|
|
| Back to top |
|
 |
|