Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Notices

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-09-2021, 08:47 AM
gantohi gantohi is offline
Registered User
 
Join Date: Dec 2020
Posts: 2
Print output to email

Hello,

Could anyone help me with a script that would save/send the output to a certain email address?

Thank you very much,
Greta
Reply With Quote
  #2  
Old 02-09-2021, 10:20 AM
cboyack cboyack is offline
VanDyke Technical Support
 
Join Date: Apr 2020
Location: Albuquerque, NM
Posts: 132
Hi Greta,

I'm assuming by "output" you are referencing the SecureCRT product. Can you confirm? What version are you running?

There isn't any email-sending capability provided by SecureCRT's scripting API/objects, so any solution would necessarily involve something native to whatever script engine/language you're using and the platform you are on.

What scripting language are you using?

On what operating system do you have SecureCRT installed and running?

If you're on Windows, there's one example that was posted many years ago related to the sending of email using CDO objects on Windows with VBScript:
https://forums.vandyke.com/showpost....03&postcount=2
Other than that, VanDyke Software doesn't currently have much to share regarding the sending of email from within a script in terms of SecureCRT's capabilities. You might consider performing a web search on how to send email from within whatever scripting language you're using on whatever platform you're on (Windows/Linux/macOS) and you may be able to find some techniques which might potentially be applicable to use within a SecureCRT script, depending on the circumstances.
__________________
Thanks,
--Cameron

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730

Last edited by cboyack; 02-09-2021 at 12:46 PM. Reason: Indent for clarity
Reply With Quote
Reply

Tags
email , mail , output , print , script

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 07:41 PM.