|
|
|
|
|
|
|
|
|
|
Re: Send email after the export done (successfully without error and with error ) [message #511969 is a reply to message #511967] |
Thu, 16 June 2011 06:07 |
|
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
An example: this is my EXPORT.BAT file (highly, but HIGHLY confidential info is obfuscated by Xs):
exp scott/tiger@ora10 file=scott.dmp log=export.log
bmail -s mail.xxxx.xxxxx -f export@lf.hr -t little.foot@xxx.hr -a "Export Log" -m export.log -c
Here are BMAIL's parameters:
M:\>bmail
Command Line SMTP Emailer V1.07
Copyright(C) 2002-2004 Craig.Peacock @ beyondlogic.org
Date: Thu, 16 Jun 2011 13:05:45 +0200
Usage: bmail [options]
-s SMTP Server Name
-p SMTP Port Number (optional, defaults to 25)
-t To: Address
-f From: Address
-b Text Body of Message (optional)
-h Generate Headers
-a Subject (optional)
-m Filename (optional) Use file as Body of Message
-c Prefix above file with CR/LF to separate body from header
-d Debug (Show all mail server communications)
BACKUP.BAT is scheduled in Widnows Task Scheduler. Its execution window looks like this (I ran EXPORT.BAT from the command prompt, just for illustration); note the MS Outlook's notification, which means that the mail has arrived to my e-mail address.
Quite simple, I'd say. I don't understand what you don't understand, but it is possible that I don't understand what you are saying all the time.
[Updated on: Thu, 16 June 2011 06:13] Report message to a moderator
|
|
|
|
|
|
Re: Send email after the export done (successfully without error and with error ) [message #511978 is a reply to message #511967] |
Thu, 16 June 2011 06:51 |
|
Michel Cadot
Messages: 68729 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
dsharma wrote on Thu, 16 June 2011 12:55I am sorry Sir, I read your same suggestions in some other posts as well. sorry to use those wordings.
...
There is no problem with the words, I just wanted to emphasize that if you lose the database or just a file you cannot recover it with an export. The only thing you can then do is to recreate a database, reimport the data and lose all modifications since the export.
Regards
Michel
[Updated on: Thu, 16 June 2011 06:51] Report message to a moderator
|
|
|
|
|