| View previous topic :: View next topic |
| Author |
Message |
lingoist
Joined: 05 Oct 2004 Posts: 121 Location: Brasília, Brazil
|
Posted: Tue Feb 01, 2005 7:38 pm Post subject: Mail a file |
|
|
Is that possible to email a file with a script? For example: I would like to send the file C:\test.txt as an attached file in Outlook Express.
Thanks,
Lingoist
Last edited by lingoist on Fri Nov 04, 2005 11:11 pm; edited 1 time in total |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1718
|
Posted: Tue Feb 01, 2005 7:52 pm Post subject: |
|
|
use a cmd line tool like blat. _________________
 |
|
| Back to top |
|
 |
Jon
Joined: 28 Apr 2004 Posts: 373
|
|
| Back to top |
|
 |
lingoist
Joined: 05 Oct 2004 Posts: 121 Location: Brasília, Brazil
|
Posted: Tue Feb 01, 2005 8:32 pm Post subject: |
|
|
Thanks Jon, but I haven't succeeded in sending an email with SendEmail.exe. Log says:
Tue Feb 1 17:21:06 2005 - 1799777 - sendEmail.exe - ERROR: Connection attempt to [localhost:25] failed: Unknown error
How could I capture my server and its port? |
|
| Back to top |
|
 |
lingoist
Joined: 05 Oct 2004 Posts: 121 Location: Brasília, Brazil
|
Posted: Tue Feb 01, 2005 9:42 pm Post subject: Like TextPad does |
|
|
In fact, I would like to use the Outlook Express. Would there be a way to send an attached file like TextPad does?
Thanks,
Lingoist
Last edited by lingoist on Fri Nov 04, 2005 11:11 pm; edited 1 time in total |
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Tue Feb 01, 2005 11:20 pm Post subject: |
|
|
| Quote: | Connect Failed message
If you get a connect failed message it means that the MAILSERVER entry in your sendmail.ini configuration file is incorrect, or the mail server is not responding. You need to specify the host name of an SMTP mail server. The required name should have been provided to you by your system administrator or ISP.
If you are using Outlook Express you can find the by mail server host name and port by clicking on Tools, Accounts, Mail tab, a mail account, Properties, Servers tab - Outgoing Mail(SMTP) and Advanced tab - Outgoing Mail(SMTP). |
Taken from the IndigoMail manual, which seems to be identical to sendmail. Have a try. And btw: RTFM of "your" sendmail  |
|
| Back to top |
|
 |
lingoist
Joined: 05 Oct 2004 Posts: 121 Location: Brasília, Brazil
|
Posted: Wed Feb 02, 2005 4:00 pm Post subject: |
|
|
Thanks BoBo and Jon,
I've succeed in executing my script with smtp.hotpop.com:25, but it requires POP Authentication before SMTP. Would you know a command-line program to check POP3?
Lingoist
Last edited by lingoist on Fri Nov 04, 2005 11:11 pm; edited 1 time in total |
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Wed Feb 02, 2005 5:48 pm Post subject: |
|
|
As already recommanded (above) by Mr. Smart-GUI himself (guess only his mum still calls him "Rajat" )
| Quote: | Blat
Win32 console utility to send mail via SMTP or post to usenet via NNTP
by P.Mendes,M.Neal,G.Vollant,T.Charron,T.Musson,H.Pesonen,A.Donchey,C.Hyde
http://www.blat.net
syntax:
Blat -to [optional switches (see below)]
Blat -install [[[]]] [-q]
Blat -profile [-delete | ""] [profile1] [profileN] [-q]
Blat -h
-------------------------------- Installation ---------------------------------
-install[SMTP|NNTP|POP3] [
[ [ [ []]]]]
: set server, sender, number of tries and port for profile
( and may be replaced by '-')
port defaults are SMTP=25, NNTP=119, POP3=110
default profile can be specified with a '-'
username and/or password may be stored to the registry
order of options is specific
use -installNNTP for storing NNTP information
use -installPOP3 for storing POP3 information
(sender and try are ignored, use '-' in place of these)
[More...] |
|
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 3004 Location: Minnesota
|
Posted: Wed Feb 02, 2005 10:38 pm Post subject: |
|
|
Hmmm...  |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1718
|
Posted: Thu Feb 03, 2005 12:43 am Post subject: |
|
|
 _________________
 |
|
| Back to top |
|
 |
|