sunny: Mail senden funktoiniert endlich!!!

Beitrag lesen

Hallo noch einmal,

Jetzt gehts! Hab noch ewig lange herumprobiert und dann bemerkt dass am Ende kein boundary mehr sein darf, dann glauben manche Clients wohl dass da noch etwas käme und stellen ein leeres Mail dar!

Nachtrag:

Also korrekterweise muss am Ende doch ein boundary stehen, allerdings einer der das Ende kennzeichnet ;-)

Das hatte ich leider in oben geposteten Link http://www.faqs.org/rfcs/rfc2046.html übersehen:

The boundary delimiter line following the last body part is a
distinguished delimiter that indicates that no further body parts
will follow.  Such a delimiter line is identical to the previous
delimiter lines, with the addition of two more hyphens after the
boundary parameter value.

Lg,
sunny