DoubleDutch wrote:I changed the #CR$ to #CRLF$ throughtout the body of the email and it appears to work ok now - I don't know is this is a problem with your lib or the fax server system?
I do not have any experience with a fax system, but with SMTP as far as I know, each message sent to the server must be terminated with CRLF and not CR.
RFC 821 - 4.1.2. COMMAND SYNTAX wrote:... The commands consist of a command code followed by an argument field. Command codes are four alphabetic characters. Upper and lower case alphabetic characters are to be treated identically. Thus, any of the following may represent the mail command:
MAIL Mail mail MaIl mAIl
This also applies to any symbols representing parameter values, such as "TO" or "to" for the forward-path. Command codes and the argument fields are separated by one or more spaces. However, within the reverse-path and forward-path arguments case is important. In particular, in some hosts the user "smith" is different from the user "Smith".
The argument field consists of a variable length character string ending with the character sequence <CRLF>. The receiver is to take no action until this sequence is received...
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gummel wrote:...
i try to send a mail to a majordomo-mailiglist.
...
Could it be that das "<>" around the mailadresses ist the reason.
..
I've no trouble with this syntax before, but majordomo seems to have a spezial behavior.
...
Is it possible to correct the syntax?
As far as I know, the "<" and ">" brackets are mandatory in SMTP, so I will not change that.
rfc2821 - 3.3 Mail Transactions wrote:...
The first step in the procedure is the MAIL command.
MAIL FROM:<reverse-path> [SP <mail-parameters> ] <CRLF>
This command tells the SMTP-receiver that a new mail transaction is
starting and to reset all its state tables and buffers, including any
recipients or mail data. The <reverse-path> portion of the first or
only argument contains the source mailbox (between "<" and ">"
brackets), ...
The second step in the procedure is the RCPT command.
The first or only argument to this command includes a forward-path
(normally a mailbox and domain, always surrounded by "<" and ">"
brackets) identifying one recipient.
...
That said, the problem could be the X-Mailer. I don't know Majordomo, but some anti-spam filters reject an 'unknown' X-Mailer.
Try to change it with PureSMTP_SetXMailer().
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Amnesty wrote:can you please fix it for the beta 5. I ve got a Polink compiler error.
When I have some time, I will update my libs for beta 5 (they will be updated for PB4.20 final, but I may not have the time to update for every new beta).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Amnesty wrote:I ve got an error when I try to compile thread-safe.
Unresolved external symbol 'PB_StringBasePosition'
I ve got the newest version from 27.05.2008 PB 4.20.
Works as expected here, using PB4.20 final and jaPBe.
If you are using the PB IDE, don't forget to enable the 'UserLibThreadSafe' subsystem when compiling in threadsafe mode (it's automatic in jaPBe).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).