I was thinking about this tonight as I'm running some of my end of month processes. How nice would it be to have an Execute and Notify feature where in conjunction with a query/stored procedure execution you could receive an email notification when the process completes. There are times when I'll be running a process that takes over 30 minutes and I'll constantly be going back and forth to check on whether or not the process has completed as there are other steps I need to do which depend on that step finishing. Rather than popping back and forth, it would be great if ADS could email me when the process is complete if I chose the Execute and Notify option.
I don't suppose something like this exists, does it? I have never seen it but think it could be a potentially great feature for anyone that is in a similar situation.
Hi Brad,
We do have a way to send an email using AquaCommands in the Query Analyzer window. You can add something like this at the end of your statements in the Query Analyzer window.
.sendMail 'host=smtp.gmail.com,
port=465,
ssl=true,
authentication=true,
user=,
password=,
from=me@mycompany.com,
to=you@yourcompany.com,
subject="Nice document attached",
message="This will blow your sockets off\ncheck it out!",
attachments="c:/abc.xls,c:/abc2.xls"'
You can also use the sendmail command if you are using Fluidshell.
Let me know if that works for you.
Thanks,Tom
I tried running this...
select top 100 * from dim_account; .sendMail 'host=smtp.google.com, port=25, ssl=true, authentication=false, from=bdegenaars@liveperson.com, to=bdegenaars@liveperson.com, subject="Nice document attached", message="This will blow your sockets off\ncheck it out!"
but I am getting this error:
I tried running this...
select top 100 * from dim_account; .sendMail 'host=smtp.google.com, port=25, ssl=true, authentication=false, from=bdegenaars@liveperson.com, to=bdegenaars@liveperson.com, subject="Nice document attached", message="This will blow your sockets off\ncheck it out!"
but I am getting this error:
Hi Brad,
Try adding a single quote after the last double quote. The parameter list for .sendMail should be enclosed in single quotes like .sendMail 'parameters'
Give that a try..
Thanks, Tom
.sendMail 'host=smtp.google.com, port=25, ssl=true, authentication=false, from=bdegenaars@liveperson.com, to=bdegenaars@liveperson.com, subject="Nice document attached", message="This will blow your sockets off\ncheck it out!"'
Hi Brad,
Try adding a single quote after the last double quote. The parameter list for .sendMail should be enclosed in single quotes like .sendMail 'parameters'
Give that a try..
Thanks, Tom
.sendMail 'host=smtp.google.com, port=25, ssl=true, authentication=false, from=bdegenaars@liveperson.com, to=bdegenaars@liveperson.com, subject="Nice document attached", message="This will blow your sockets off\ncheck it out!"'
Issue #15486 |
Resolved |
Fixed |
Resolved |
Completion |
No due date |
No fixed build |
No time estimate |
Hi Brad,
We do have a way to send an email using AquaCommands in the Query Analyzer window. You can add something like this at the end of your statements in the Query Analyzer window.
.sendMail 'host=smtp.gmail.com,
port=465,
ssl=true,
authentication=true,
user=,
password=,
from=me@mycompany.com,
to=you@yourcompany.com,
subject="Nice document attached",
message="This will blow your sockets off\ncheck it out!",
attachments="c:/abc.xls,c:/abc2.xls"'
You can also use the sendmail command if you are using Fluidshell.
Let me know if that works for you.
Thanks,Tom