Notification

Icon
Error

lspush smtp direct send

Posted: Friday, November 18, 2011 10:14:20 PM(UTC)
danielm

danielm

Member Original PosterPosts: 165
0
Like
It would be nice if you could tell lspush to just send directly using its own SMTP direct to a smtp server instead of trying to use the email client locally.
sometimes you may not have one available.
danielm
#1danielm Member Original PosterPosts: 165  
posted: 12/30/2011 7:05:01 PM(UTC)
as an answer to my own question, a workaround I now use is a standalone SMTP exe and a batch file and lspush

ie,
===========
@ECHO OFF
@REM This file will email the generated data file needed for Lansweeper.
@REM File name will be DOMAIN-PCNAME.ls.txt
lspush.exe /folder .
mailsend -d domain.ca -smtp 123.123.123.123 -t email@123.ca -f email2@123.ca -sub "LANSWEEPERDATA servername" -a "DOMAIN-servername.ls.txt,application/octet-stream,a " -M "LANSWEEPER DATA ATTACHED"

===========

then just make a SCHEDULED task if you want to generate this every day and email from unreachable servers :)


lspush.exe is the file from the premium version

mailsend.exe is
Version: @(#) mailsend v1.14
Copyright: GNU GPL

google or try this link maybe http://www.muquit.com/mu...e/mailsend/mailsend.html
Handles attachments
mailsend.txt (3kb) downloaded 118 time(s).
Danilo Ferrari
#2Danilo Ferrari Member Posts: 1  
posted: 8/1/2019 1:39:26 PM(UTC)
HI danielm!

I am trying to run this script but when I run I received the error message below:

Error: smtp.c (494) - Could not open file for reading: DOMAIN-servername.ls.txt (No such file or directory)
Mail sent successfully

I received the email but without the attachment file.

Can you please help me?

Active Discussions

Lansweeper Remove all users from old domain
by  cmuter   Go to last post Go to first unread
Last post: 9/20/2019 8:03:58 PM(UTC)
Lansweeper Static IP Address
by  cycleheat  
Go to last post Go to first unread
Last post: 9/20/2019 4:07:16 PM(UTC)
Lansweeper Bitlocker Encryption Recovery Key no information found
by  Stephane   Go to last post Go to first unread
Last post: 9/20/2019 2:26:19 PM(UTC)
Lansweeper InTune Scanning Issues
by  Esben.D  
Go to last post Go to first unread
Last post: 9/20/2019 12:34:59 PM(UTC)
Lansweeper Office 365 scanning issues
by  Esben.D   Go to last post Go to first unread
Last post: 9/20/2019 12:23:30 PM(UTC)
Lansweeper Hard Drive Tracking - Start to Finish
by  Lone Jedi  
Go to last post Go to first unread
Last post: 9/19/2019 8:11:56 PM(UTC)
Lansweeper Lansweeper Reporting Old Assets as New
by  Jpatterson   Go to last post Go to first unread
Last post: 9/19/2019 12:52:14 PM(UTC)
Lansweeper Cannot edit a ticket anymore
by  Esben.D  
Go to last post Go to first unread
Last post: 9/19/2019 12:32:42 PM(UTC)