LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-19-2002, 11:33 AM   #1
Titus
LQ Newbie
 
Registered: Jul 2002
Posts: 2

Rep: Reputation: 0
Unhappy SMTP: multiple mails with one connection?


I´m sending mails via an SMTP connection to a remote server - no problem so far.
But when it comes to sending a second mail without disconnecting and reconnecting, only the first mail gets to the recipient.

Two days of digging the net for a solution - or at least an explanation - resulted in: nothing.

I hope you can help!

I do this as described in the Too many recipients scenario of the RFC 821:
Code:
HELO
MAIL FROM: me@myhost.com
RCPT: recpt1@otherhost.com
DATA
Subject: mail one
Content-Type: text/plain

blah blah
.
MAIL FROM: me@myhost.com
RCPT: recpt2@thirdhost.com
DATA
Subject: mail two
Content-Type: text/plain

foo bar
.
QUIT
and SMTP replys 2xx (=OK) to every single line
but mail #2 disappears
 
Old 07-19-2002, 12:07 PM   #2
MartBrooks
Member
 
Registered: May 2002
Location: London
Distribution: Debian
Posts: 388

Rep: Reputation: 31
You need to issue a reset between mails.

Regards
 
Old 07-19-2002, 12:37 PM   #3
Titus
LQ Newbie
 
Registered: Jul 2002
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the idea ... description of that command in the RFC said "This command specifies that the current mail transaction is to be aborted." so I didnt even try that until now.

However still only the first mail arrives.
*stilldigging*

PS: we are talking about the RSET command, right?!

Last edited by Titus; 07-19-2002 at 12:39 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Evolution with multiple SMTP servers theufman Linux - Software 1 01-13-2006 05:15 AM
backup all e-mails (smtp/pop3) stomach Linux - Software 3 11-01-2005 11:32 AM
SMTP traffic on my DialUp connection how ...? shahg_shahg Linux - Networking 0 02-14-2005 01:04 AM
SMTP Connection Closing inforlinx Linux - Networking 2 11-04-2004 05:27 PM
Problem With SMTP Server Connection Manash Linux - Networking 3 10-02-2004 11:57 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration