🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: free.it.web.aruba
2 messages
2 total messages Started by NG Wed, 05 Dec 2007 21:17
[PHP] invio mail avanzata
#20
Author: NG
Date: Wed, 05 Dec 2007 21:17
41 lines
2604 bytes
Salve sono in attesa che Aruba approvi l'iscrizione alla community per 
questo sono qui a spiegarvi il mio problema. Dovrei spedire email (in html e 
testo alternativo) con php e ho appurato che aruba consente l'invio di email 
solo se seguono una rigorosa struttura. Mi chiedevo cosa potesse impedire 
l'invio di una email strutturata nel seguente modo:

From: Mario Rossi <mario.rossi@email.zz>;
Return-Path: mario.rossi@email.zz
X-Mailer: Sitoweb
MIME-Version: 1.0
Content-Type: multipart/related;
 type="multipart/alternative";
 boundary="==String_Boundary_xc9e74a7cfc683b5404537c8088546ab9x";

--==String_Boundary_xc9e74a7cfc683b5404537c8088546ab9x
Content-Type: multipart/alternative;
 boundary="==String_Boundary2_yc9e74a7cfc683b5404537c8088546ab9y";

--==String_Boundary2_yc9e74a7cfc683b5404537c8088546ab9y
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Messaggio alternativo solo testo

--==String_Boundary2_yc9e74a7cfc683b5404537c8088546ab9y
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Messaggio html <img src="cid:logo" width="100" height="100">

--==String_Boundary2_yc9e74a7cfc683b5404537c8088546ab9y--
--==String_Boundary_xc9e74a7cfc683b5404537c8088546ab9x
Content-ID: <logo>
Content-Type: image/jpeg
Content-Transfer-Encoding: base64

/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAZAAA/+4ADkFkb2JlAGTAAAAAAf/b
AIQAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQICAgICAgICAgIC
(cut)

--==String_Boundary_xc9e74a7cfc683b5404537c8088546ab9x-- 
Re: [PHP] invio mail avanzata
#21
Author: NG
Date: Wed, 05 Dec 2007 21:23
7 lines
1232 bytes
"NG"
> Mi chiedevo cosa potesse impedire l'invio di una email strutturata nel 
> seguente modo:

dimenticavo di dirvi che il codice precedentemente riportato corrisponde 
all'output delle variabili $message e $headers date in pasto alla funzione:
mail($destinatario, $subject, $message, $headers) 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads