Advertisement

05.31.2007 at 01:26PM PDT, ID: 22605747
[x]
Attachment Details

vbscript to send smtp mail

Asked by gateguard in WInsock, Visual Basic Programming, VB Script

Tags: vbscript, smtp, mail

How do I script the following commands, instead of having to type them one-by-one in command line?

If I type these commands in command line, the mail is sent:

telnet mail.test.com 25
EHLO test.com
MAIL FROM:Admin@test.com
RCPT TO: User@test.Com
DATA
Subject: test message
text
text

.
QUIT


(mail.test.com is a mail server on my LAN)
Start Free Trial
 
Loading Advertisement...
 
[+][-]05.31.2007 at 01:40PM PDT, ID: 19191322

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]05.31.2007 at 03:29PM PDT, ID: 19191955

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.31.2007 at 06:06PM PDT, ID: 19192533

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.01.2007 at 01:44AM PDT, ID: 19193678

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.01.2007 at 06:37AM PDT, ID: 19194849

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.01.2007 at 08:58AM PDT, ID: 19195966

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.01.2007 at 12:13PM PDT, ID: 19197278

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: WInsock, Visual Basic Programming, VB Script
Tags: vbscript, smtp, mail
Sign Up Now!
Solution Provided By: larami
Participating Experts: 4
Solution Grade: A
 
 
[+][-]06.02.2007 at 01:58PM PDT, ID: 19201644

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.02.2007 at 01:59PM PDT, ID: 19201646

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32