WebSite X5Help Center

 
Silvia Venturi
Silvia Venturi
User

Non ricevo le e-mail provenienti dal sito  it

Autore: Silvia Venturi
Visite 998, Followers 1, Condiviso 0  

Buongiorno utilizzo website x5 versione 10 professional. Non ricevo le mail dal sito, se provo a fare un ordine, il cliente ricevere la mail ma io non ricevo il riepilogo dell'ordine sapete aiutarmi? Grazie

Postato il
20 RISPOSTE
Silvia Venturi
Silvia Venturi
User
Autore

il sito è www.dream-shop.it

Leggi di più
Postato il da Silvia Venturi
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

... hai già effettuato tutte le prove previste (TEST MAIL) dal tuo panello di controllo, qui...?...

www.dream-shop.it/admin/

... TUTTE ...

... se non sai o non ti ricordi come accedere, ... vai al:

>>> Passo 4 - Impostazioni Avanzate > Gestione Accessi | Profili Utente | ▪Modifica...

... clicca su Admin, vedi i dati attivi, o li modifichi e nel caso riesporta il tutto...

(il pannello deve risultare tutto VERDE/PASS)

... ... ...

.

ciao

Leggi di più
Postato il da  ‪ KolAsim ‪ ‪
Silvia Venturi
Silvia Venturi
User
Autore

questo codice dove devo metterlo?

<?php
      //Incomedia WebSite X5 EMail Class. All rights reserved.
 
    class imEMail {
        var $from;
        var $to;
        var $subject;
        var $charset;
        var $text;
        var $html;
        var $type;
        var $newline = "\r\n";
        var $exposeWsx5 = true;
        
        var $attachments;
        
        function imEMail($from,$to,$subject,$charset) {
            $this->from = $from;
            $this->to = $to;
            $this->charset = $charset;
            $this->subject = strlen($subject) ? "=?" . strtoupper($this->charset) . "?B?". base64_encode($subject) . "?=" : "";
        }
        
        function setExpose($expose) {
            $this->exposeWsx5 = $expose;
        }

        /**
         * Set the type of email standard (HTML, HTML-X or Text-only)
         * @param [type] $type [description]
         */
        function setStandardType($type = "html") {
            $this->type = $type;
            $this->newline = (strtolower($type) == "html-x" ? "\n" : "\r\n");
        }
        
        function setFrom($from) {
            $this->from = $from;
        }
        
        function setTo($to) {
            $this->to = $to;
        }
        
        function setSubject($subject) {
            if (strlen($subject))
                $this->subject = "=?" . strtoupper($this->charset) . "?B?". base64_encode($subject) . "?=";
            else
                $this->subject = "";
        }
        
        function setCharset($charset) {
            $this->charset = $charset;
        }
        
        function setText($text) {
            $this->text = $text;
        }
        
        function setHTML($html) {
            $this->html = $html;
        }
        
        function attachFile($name,$content,$mime_type) {
            if (strlen($name) === 0)
                return false;
            $attachment['name'] = "=?" . strtoupper($this->charset) . "?B?". base64_encode($name) . "?=";
            $attachment['content'] = base64_encode($content);
            $attachment['mime_type'] = $mime_type;
            $this->attachments[] = $attachment;
        }
        
        function send() {
            $headers = "";
            $msg = "";

            if($this->from == "" || $this->to == "" || ($this->text == "" && $this->html == ""))
                return false;
            
            if ($this->type != "text") {

                /*
                |-------------------------------
                | HTML/HTML-X email
                |-------------------------------
                 */
                
                $boundary_file = md5(time() . "_attachment");
                $boundary_alt = md5(time() . "_alternative");            

                $headers .= "From: " . $this->from . $this->newline;
                $headers .= "Message-ID: <" . time() . rand(0,9) . rand(0,9) . "@" . ($this->exposeWsx5 ? "websitex5" : rand(100,200)) . ".users>" . $this->newline;
                $headers .= "X-Mailer: " . ($this->exposeWsx5 ? "WebSiteX5 Mailer" : "PHP") . $this->newline;
                
                $headers .= "MIME-Version: 1.0" . $this->newline;

                if(is_array($this->attachments)) {
                    $headers .= "Content-Type: multipart/mixed; boundary=\"" . $boundary_file . "\"" . $this->newline . $this->newline;
                    $headers .= "--" . $boundary_file . $this->newline;
                }
                
                if($this->html == "") {
                    $headers .= "Content-Type: text/plain; charset=" . strtoupper($this->charset) . $this->newline;<br />                    if (strtolower($this->charset) != "utf-8")
                        $headers .= "Content-Transfer-Encoding: 7bit" . $this->newline;
                    else
                          $headers .= "Content-Transfer-Encoding: 8bit" . $this->newline;
                    $msg .= $this->text . $this->newline . $this->newline;
                }
                else if($this->text == "") {
                    $headers .= "Content-Type: text/html; charset=" . strtoupper($this->charset) . $this->newline;<br />                    if (strtolower($this->charset) != "utf-8")
                        $headers .= "Content-Transfer-Encoding: 7bit" . $this->newline;
                    else
                          $headers .= "Content-Transfer-Encoding: 8bit" . $this->newline;
                    $msg .= $this->html . $this->newline . $this->newline;
                }
                else {
                    $headers .= "Content-Type: multipart/alternative; boundary=\"" . $boundary_alt . "\"" . $this->newline;
                    
                    $msg .= "--" .$boundary_alt . $this->newline;
                    $msg .= "Content-Type: text/plain; charset=" . strtoupper($this->charset) . $this->newline;<br />                    if (strtolower($this->charset) != "utf-8")
                        $msg .= "Content-Transfer-Encoding: 7bit" . $this->newline;
                    else
                          $msg .= "Content-Transfer-Encoding: 8bit" . $this->newline;
                    $msg .= $this->newline;
                    $msg .= $this->text . $this->newline . $this->newline;
                    
                    $msg .= "--" . $boundary_alt . $this->newline;
                      $msg .= "Content-Type: text/html; charset=" . strtoupper($this->charset) . $this->newline;<br />                      if (strtolower($this->charset) != "utf-8")
                        $msg .= "Content-Transfer-Encoding: 7bit" . $this->newline;
                    else
                          $msg .= "Content-Transfer-Encoding: 8bit" . $this->newline;
                    $msg .= $this->newline;
                    $msg .= $this->html . $this->newline . $this->newline;
                    
                    $msg .= "--" . $boundary_alt . "--" . $this->newline . $this->newline;
                }
                
                if(is_array($this->attachments)) {
                    foreach($this->attachments as $attachment) {
                        $msg .= "--" . $boundary_file . $this->newline;
                        $msg .= "Content-Type: " . $attachment["mime_type"] . "; name=\"" . $attachment["name"] . "\"" . $this->newline;
                        $msg .= "Content-Transfer-Encoding: base64" . $this->newline;
                        $msg .= "Content-Disposition: attachment; filename=\"" . $attachment["name"] . "\"" . $this->newline . $this->newline;
                        $msg .= chunk_split($attachment["content"]) . $this->newline . $this->newline;
                    }
                    $msg .= "--" . $boundary_file . "--" . $this->newline . $this->newline;
                }
                
                if (function_exists('ini_set'))
                    @ini_set("sendmail_from", $this->from);
                
                // First attempt: -f flag, no more headers
                if(@mail($this->to, $this->subject, $msg, $headers, "-f" . $this->from))
                    return true;
                // Second attempt: no -f flag, no more headers
                if (@mail($this->to, $this->subject, $msg, $headers))
                    return true;
                // Third attempt: no -f flag, one more To header
                $headers = "To: " . $this->to . $this->newline . $headers;
                return @mail($this->to, $this->subject, $msg, $headers);
            } else {

                /*
                |-------------------------------
                | Text-only email
                |-------------------------------
                 */

                $headers .= "From: " . $this->from . $this->newline;
                $headers .= "Content-Type: text/plain;charset=" . $this->charset . $this->newline;
                $msg .= $this->text . $this->newline . $this->newline;

                $r = @mail($this->to, $this->subject, $msg, $headers);
                return $r;
            }
        }
    }

// End of file imemail.inc.php

Leggi di più
Postato il da Silvia Venturi
Silvia Venturi
Silvia Venturi
User
Autore

facendo l'invio da qui le mail arrivano

Leggi di più
Postato il da Silvia Venturi
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

... lo script che ti  risultasse corretto devi poi impostarlo nel progetto, cioè in questa sezione, e riesportare:

impostazioni corrette.

Leggi di più
Postato il da  ‪ KolAsim ‪ ‪
Fabio B.
Fabio B.
User

magari fatti mandare da un tuo cliente uno ss della email ricevuta così identifichiamo la provenienza; oppure fai un acquisto tu su un prodotto fittizio che metti a costo 0 in una pagina riservata solo a te

Leggi di più
Postato il da Fabio B.
Silvia Venturi
Silvia Venturi
User
Autore

Ho impostato script di basso livello e le mail arrivano, ma non formattate in html solo testo. Cmq la mia schermata è differente dalla tua non so come mai

Leggi di più
Postato il da Silvia Venturi
 lemonsong  
 lemonsong  
User
Silvia V.
Cmq la mia schermata è differente dalla tua non so come mai

Perché tu hai la 10Pro e la schermata postata si riferisce alla 11.

Leggi di più
Postato il da  lemonsong  
Silvia Venturi
Silvia Venturi
User
Autore

Lemonsong quindi non posso incollare quel codice in altre parti? cioè ricevere mail html?

Leggi di più
Postato il da Silvia Venturi
 lemonsong  
 lemonsong  
User

Non ho la 10 per dirti qualcosa di più preciso.

Posso solo aggiungere che, se prima ricevevi mail regolarmente ed ultimamente non le ricevi più, può essere che nel tuo server sia cambiato qualcosa e dovrai contattare chi ti offre il servizio.

Dalla 11 sono state introdotte nuove opzioni per l'invio di e-mail (probabilmente ti servirà un SMTP autenticato):

https://helpcenter.websitex5.com/post/114330

Resta in attesa di risposte più illuminanti...

Leggi di più
Postato il da  lemonsong  
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
 ‪ KolAsim ‪ ‪
... lo script che ti  risultasse corretto devi poi impostarlo nel progetto, cioè in questa sezione, e riesportare:

impostazioni corrette 

Silvia V.

Ho impostato script di basso livello e le mail arrivano, ma non formattate in html solo testo. Cmq la mia schermata è differente dalla tua non so come mai

... non mi ero accorto che avevi la v.10; ... lo STAMP si riferisce alla versione attuale, v.11 che è munita dello SCRIPT richiesto...

... quindi, o sei in grado di apportare le modifiche suggerite da aruba, oppure passi sulla v.11, magari vedendo ed approfittando delle offerte per te nel tuo Profilo...

... oppure potresti farti ripristinare la funzione PHP MAIL(), sempre se volessero o potessero farlo...

.

Leggi di più
Postato il da  ‪ KolAsim ‪ ‪
Silvia Venturi
Silvia Venturi
User
Autore

Sarei giàpassata alla versione 11 se solo avessere inserito la funzione che genera i  automatico le schede prodotto :-/

Leggi di più
Postato il da Silvia Venturi
Silvia Venturi
Silvia Venturi
User
Autore

se qualcun'altro avesse idee su come risolvere il problema consigli sono ben accetti

Leggi di più
Postato il da Silvia Venturi
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Silvia V.
se qualcun'altro avesse idee su come risolvere il problema consigli sono ben accetti

... se ti sai dar da fare, potresti seguire il suggerimento di aruba, ...oppure, seguire una para-soluzione proposta qui:   https://helpcenter.websitex5.com/post/109376

.

Leggi di più
Postato il da  ‪ KolAsim ‪ ‪
Silvia Venturi
Silvia Venturi
User
Autore

si mi do parecchio da fare te lo assicuro :-) apparte che non ho aruba come server ma siteground, non ho capito cosa devo chiedere esattamente al provider... 

Leggi di più
Postato il da Silvia Venturi
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

... ... prova con  il file proposto da Stefano (Staff):  https://helpcenter.websitex5.com/post/126253

Silvia V.

si mi do parecchio da fare te lo assicuro :-) ... ... ...


... incomincia con il mettere la testa sulle spalle  ...qui...Silvia V.



.

Leggi di più
Postato il da  ‪ KolAsim ‪ ‪
Fabio B.
Fabio B.
User

@ Silvia: secondo me non hai fatto una scelta molto conveniente; ce ne sono a iosa di concorrenti migliori

 ‪ KolAsim ‪ ‪
... incomincia con il mettere la testa sulle spalle...

???

Leggi di più
Postato il da Fabio B.
Silvia Venturi
Silvia Venturi
User
Autore

in che senso fabio?

Leggi di più
Postato il da Silvia Venturi
Fabio B.
Fabio B.
User

io parlavo del tuo hosting; non lo conosco ma non mi ispira. Magari invece é validissimo...

Leggi di più
Postato il da Fabio B.