Newsgroup: it.comp.software.mailreader
Titolo: Dubbi sul dialogo client-server nell'invio delle email


MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Questo messaggio serve solo a studiare gli header dei messaggi 
----
Ecco le mie domande e i miei dubbi:
1) il client inserisce tutto questo blocco di header dopo il comando
DATA dell'STMP?
2) per inviare l'email a tutti i destinatari, immagino che il server
analizza gli header, preleva dall'header Bcc gli indirizzi dei
destinatari nascosti, li memorizza, toglie dal messaggio la riga con Bcc
e poi lo invia ad ognuno dei destinatari, inserendo gli indirizzi in
tanti comandi RCPT quanti sono i destinatari. E' giusta questa
interpretazione?
3) i server possono aggiungere righe al messaggio (es. X-Spam-Rating:
smtp2.aruba.it
 ...) o toglierle (es. Yahoo ha tolto tutte le righe che
iniziano con X-..) ?
Beh, magari mi fermo qui, per il momento.
Vi ringrazio anticipatamente.
Salvo 

 server SMTP
http://tinyurl.com/2fd8gx
http://www.ietf.org/rfc/rfc0821.txt
-- 
Fosco

 
Ti ringrazio Fosco per le indicazioni. Nel frattempo ho visto che la rfc
821 č stata superata dalla 2821 del 2001, cosě ora studierň quella,( anche
se, ahimč, non sono tanto bravo con l'inglese).


2007.07.02 07:36:07 (Mon): >>>putline>>> QUIT
2007.07.02 07:36:08 (Mon): <<<getline<<< 205 .
2007.07.02 07:36:08 (Mon)-------------End of Session------------------
http://www.google.it/search?hl=it&q=blat%2Bmail&meta=
http://www.google.it/search?hl=it&q=blatguy&btnG=Cerca&meta=
-- 
Fosco

 
 Ti ringrazio, Fosco (anche se con moto ritardo e mi scuso con te per
questo) per il suggerimento che mi hai dato. A dire il vero non devo
installare un server ma ormai mi manca solo qualche particolare per
definire una idea (cosě come accennavo nella mia prima email).
L'ultimo tassello che mi manca č avere qualche esempio di parametro
aggiuntivo per il comando RCPT TO: 
Puoi aiutarmi? 
Ancora grazie.
Salvo 


2007.08.31 05:07:02 (Fri): <<<getline<<< 250 2.1.5 Ok
2007.08.31 05:07:02 (Fri): >>>putline>>> DATA
2007.08.31 05:07:02 (Fri): <<<getline<<< 354 End data with <CR><LF>.<CR><LF>
2007.08.31 05:07:03 (Fri): <<<getline<<< 250 2.0.0 Ok: queued as 9A2A554002
2007.08.31 05:07:03 (Fri): >>>putline>>> QUIT
2007.08.31 05:07:03 (Fri): <<<getline<<< 221 2.0.0 Bye
2007.08.31 05:07:03 (Fri)-------------End of Session------------------
MailTo   Syntax
February 14, 2006
--------------------------------------------------------------------------------
PLEASE NOTE:
It is recommended that you use a process other than MailTo handle the e-mail process from your web site.
If you do use MailTo, please encode the included e-mail address(s) to reduce the spam for that address.
One routine to assist encoding and e-mail address is available at: 
http://www.ianr.unl.edu/email/encode/
The MailTo command can do more than enter a single e-mail address in the "Send To" field while activating your e-mail
program. It can also: Feature       Syntax
Address message to multiple recipients  ,   (comma separating e-mail addresses)
Add entry in the "Subject" field  ?subject=Subject Field Text
Add entry in the "Copy To" or "CC" field  ?&cc=i...@internet.node
Add entry in the "Blind Copy To" or "BCC" field  ?&bcc=i...@internet.node
Add entry in the "Body" field  ?&body=Your message here
Within the body use "%0A" for a new line,
use "%0A%0A" for a new line preceded by a blank line (paragraph),
see example below.
Notes:
" " (beginning and ending double quotes) are necessary if any spaces are used
Use the ? (question mark) and only one "?", when creating any entry beyond e-mail address
Some examples, with actual HTML Code included, follow:
Simple MailTo
<a href="mailto:
ast...@unl.edu
">
MailTo with Multiple Recipients
<a href="mailto:
ast...@unl.edu
,
AST...@UNL.EDU
">
MailTo with Subject
<a href="mailto:
ast...@unl.edu
?subject=Comments from MailTo Syntax Page">
MailTo with a Copy
<a href="mailto:
ast...@unl.edu
?&cc=
AST...@UNL.EDU
">
MailTo with a Blind Copy
<a href="mailto:
ast...@unl.edu
?&bcc=
AST...@UNL.EDU
">
MailTo with message already started in Body
<a href="mailto:
ast...@unl.edu
?&body=I am having trouble finding information on ">
MailTo with multiline message in Body
<a href="mailto:
ast...@unl.edu
?&body=The message's first paragraph.%0A%0aSecond paragraph.%0A%0AThird Paragraph.">
NOTE: Use "%0A" for a new line, use "%0A%0A" for a new line preceded by a blank line.
Features may be used in combination
MailTo with Subject, One Recipient and Two Copies
<a href="mailto:
ast...@unl.edu
?subject=MailTo Comments&cc=
AST...@UNL.EDU
,i...@internet.node">
Remember to use only one ? (question mark), when providing multiple entries beyond e-mail address
--------------------------------------------------------------------------------
Resources for Creating Web Pages
-- 
Fosco

 aggiuntivo per il comando RCPT TO: 
http://www.cs.cf.ac.uk/Dave/PERL/node177.html
The RCPT Command
You tell the mail server who the recipient of your message is by using the RCPT command. You can send more than one RCPT
command for multiple recipients. The server will respond with a code of 250 to each command. The syntax for the RCPT is:
RCPT TO:<forward-path>
Only one recipient can be named per RCPT command. If the recipient is not known to the mail server, the response code
will be 550. You might also get a response code indicating that the recipient is not local to the server. If that is the
case, you will get one of two responses back from the server:
251 User not local; will forward to <forward-path>-This reply means that the server will forward the message. The
correct mail address is returned so that you can store it for future use.
551 User not local; please try <forward-path>-This reply means that the server won't forward the message. You need to
issue another RCPT command with the new address.
-- 
Fosco

 Fosco <fa...@fake.invalid> ha scritto:
http://www.ianr.unl.edu/internet/mailto.html
-- 
Fosco

 Puoi aiutarmi? 
questi un po di test che feci io tempo addietro da linea di comando
se provi e cambi vedi come funzionano :
set oShell = CreateObject("WScript.Shell")
'Set fs = CreateObject("Scripting.FileSystemObject")
'oShell.Run "mailto:
destin...@est.naz
?cc=no...@bo1.bo2&bcc=te...@naz.est&subject=avviso&body=Ricordo le prossime
scadenze"
Sa = escape ("ricordo la prossime scadenza ")& now +4
oShell.Run "mailto:
destin...@est.naz
?cc=no...@bo1.bo2&bcc=te...@naz.est&subject=avviso&body=" & sa
WScript.Sleep 1500
''''''oShell.SendKeys"^{enter}"
'Copia incolla su notepad e salva con estensione .vbs
'tutti i file (*.*)  poi ci clicchi sopra. (per esempio Test.vbs)
'se ti da' errore disattiva l'antivirus
'e/o
' 
http://www.ostrosoft.com/smtp_component.asp
-- 
Fosco

 > L'ultimo tassello che mi manca č avere qualche esempio di parametro


 viene memorizzato dal server e poi esso elabora la risposta d'errore?
Non e' che mi sia interessato molto penso cmq la seconda
-- 
Fosco

 Non e' che mi sia interessato molto penso cmq la seconda
Imho viene accettato ed elaborato , infatti di solito ricevi un :
(e ricordati che anche per motivi legali devono mantenere dei log)
Undelivered Mail Returned to Sender
This is the mail system at host 
smtp-out04.email.it
.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to <postmaster>
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
                   The mail system
<no...@none.none>: Host or domain name not found. Name service error for
    name=none.none type=A: Host not found
-- 
Fosco


2007.09.01 07:10:54 (Sat): >>>putline>>> USER *******************@
email.it
2007.09.01 07:10:54 (Sat): <<<getline<<< -ERR *************@
email.it
 not known
2007.09.01 07:10:54 (Sat): >>>putline>>> QUIT
2007.09.01 07:10:54 (Sat): Invalid server response received: +OK 
simail.it
 POP3 server signing off (mailbox empty)
2007.09.01 07:10:55 (Sat): <<<getline<<< 220 
smtp-out03.email.it
 ESMTP
2007.09.01 07:10:55 (Sat): >>>putline>>> EHLO 
e.email.it
2007.09.01 07:10:55 (Sat): <<<getline<<< 
250-smtp-out03.email.it
2007.09.01 07:10:55 (Sat): <<<getline<<< 250-PIPELINING
2007.09.01 07:10:55 (Sat): <<<getline<<< 250-SIZE 15728640
2007.09.01 07:10:55 (Sat): <<<getline<<< 250-ETRN
2007.09.01 07:10:55 (Sat): <<<getline<<< 250-AUTH PLAIN CRAM-MD5 LOGIN DIGEST-MD5
2007.09.01 07:10:55 (Sat): <<<getline<<< 250-ENHANCEDSTATUSCODES
2007.09.01 07:10:55 (Sat): <<<getline<<< 250-8BITMIME
2007.09.01 07:10:55 (Sat): <<<getline<<< 250 DSN
2007.09.01 07:10:55 (Sat): Sending tmp.tmp to no...@none.none
2007.09.01 07:10:55 (Sat): Login name is *****************************@
email.it
2007.09.01 07:10:55 (Sat): >>>putline>>> AUTH CRAM-MD5