| View previous topic :: View next topic |
| Author |
Message |
hugo929

Joined: 27 Oct 2006 Posts: 6163 Location: China
|
Posted: Sun Nov 04, 2007 10:11 am Post subject: help to sendmail |
|
|
Hi, my friends.
I need a windows console command line program to send mail.
Once I download free execute file named "sendmail.exe" and "sendmail.ini" which is used to store some parameters such as SmtpServer, UserName, Password etc. Its Usage is likes:
Sendmail S xxx@xxx.com "Subject" "mail Content" "attachment file"
But today i tried many times, all failed to send mail!
Anybody can help me?
Or could anyone recommend a more convenient software tools?
What I need is a command line program to send mail. It must be runnable under windows XP.
Thanks a lot! _________________ My vintage CPU collection:www.cpumuseum.com
Chinese Forum: http://www.cpumuseum.com/forum |
|
| Back to top |
|
 |
Cpuswe

Joined: 15 Mar 2005 Posts: 2214 Location: Karlskrona, Sweden
|
Posted: Sun Nov 04, 2007 2:22 pm Post subject: |
|
|
If the software has worked before why change it? I would start to check the log from the software. What does the Smtp server say when trying to relay? Could it be a problem at the server end? _________________ My collection: http://www.cpucollection.se :::::: http://www.chipdb.org Photos of chips you never knew existed. Now over 6000 different chips in the database. |
|
| Back to top |
|
 |
Borris70

Joined: 24 Apr 2003 Posts: 988 Location: Germany
|
Posted: Sun Nov 04, 2007 2:35 pm Post subject: |
|
|
i use blat since many years
http://www.blat.net/ _________________ best regards borris
+++++++++++++++++
++ cpu-sammlung.de ++
+++++++++++++++++ |
|
| Back to top |
|
 |
Cpuswe

Joined: 15 Mar 2005 Posts: 2214 Location: Karlskrona, Sweden
|
Posted: Sun Nov 04, 2007 3:31 pm Post subject: |
|
|
Yupp, we have used blat in many automated scripts at work. _________________ My collection: http://www.cpucollection.se :::::: http://www.chipdb.org Photos of chips you never knew existed. Now over 6000 different chips in the database. |
|
| Back to top |
|
 |
hugo929

Joined: 27 Oct 2006 Posts: 6163 Location: China
|
|
| Back to top |
|
 |
hugo929

Joined: 27 Oct 2006 Posts: 6163 Location: China
|
Posted: Sun Nov 04, 2007 8:17 pm Post subject: |
|
|
| Cpuswe wrote: | | If the software has worked before why change it? I would start to check the log from the software. What does the Smtp server say when trying to relay? Could it be a problem at the server end? |
no info & log returned. I dont know why.
anyway thank you for response!  _________________ My vintage CPU collection:www.cpumuseum.com
Chinese Forum: http://www.cpumuseum.com/forum |
|
| Back to top |
|
 |
hugo929

Joined: 27 Oct 2006 Posts: 6163 Location: China
|
Posted: Wed Nov 07, 2007 8:46 am Post subject: |
|
|
hi, Borris and Thomas, can you help me?
i am using blat, but encountered some trouble:
H:\blat\full>blat -SaveSettings -f xxx@163.com -server smtp.163.com -port 25 -
try 5 -profile xxx -u xxx -pwd 1234567
Blat v2.6.2 w/GSS encryption (build : Feb 25 2007 12:06:19)
Blat saw and processed these options, and found fault with the last one...
-SaveSettings
Not enough arguments supplied for option: -SaveSettings
Blat found fault with: -SaveSettings
-SaveSettings : store common settings to the Windows Registry. Takes the
same parameters as -install, and is only for SMTP settings. _________________ My vintage CPU collection:www.cpumuseum.com
Chinese Forum: http://www.cpumuseum.com/forum
Last edited by hugo929 on Wed Nov 07, 2007 10:56 am; edited 1 time in total |
|
| Back to top |
|
 |
Cpuswe

Joined: 15 Mar 2005 Posts: 2214 Location: Karlskrona, Sweden
|
Posted: Wed Nov 07, 2007 9:50 am Post subject: |
|
|
According to this: http://www.blat.net/examples/install&profile.html
Its not -SaveSettings but -install
"Blat does not need to be installed!
All the 'Blat -install' command does is store various parameters in the Windows Regestry!
-install <server addr> <sender's addr> [<try n times> [<port> [<profile> [<username> [<password>]]]]]" _________________ My collection: http://www.cpucollection.se :::::: http://www.chipdb.org Photos of chips you never knew existed. Now over 6000 different chips in the database. |
|
| Back to top |
|
 |
hugo929

Joined: 27 Oct 2006 Posts: 6163 Location: China
|
|
| Back to top |
|
 |
|