Jump to content
xt:Commerce Community Forum

Absenderadresse Shop


frankweb

Recommended Posts

auch bei billing steht die richtige adresse!!

anbei die komplette seite:

E-Mail Options

XT Configuration

Name Wert Aktion

E-Mail Transport Methode smtp

Der Pfad zu Sendmail /usr/sbin/sendmail -t -i

Adresse des SMTP Servers localhost

Adresse des SMTP Backup Servers localhost

SMTP Port 25

SMTP Username [email protected]

SMTP Passwort xxxxxxxxxxxx

SMTP AUTH true

E-Mail Linefeeds LF

Benutzen von MIME HTML beim Versand von E-mails false

?berpr?fen der E-Mail Adressen ?ber DNS false

Senden von E-Mails true

Contact Us - email adress ADDvizer <[email protected]>

Contact Us - email adress, name Mail send by Contact_us Form

Contact Us - reply adress [email protected]

Contact Us - reply adress, name.

Contact Us - Email Betreff

Contact Us - Forwarding adresses

Technical Support - email adress ADDvizer <[email protected]>

Technical Support - email adress, name Mail send by support systems

Technical Support - reply adress [email protected]

Technical Support - reply adress, name

Technical Support - Email Betreff

Technical Support - Forwarding adresses

Billing - email adress ADDvizer <[email protected]>

Billing - email adress, name Mail send by billing systems

Billing - reply adress [email protected]

Billing - reply adress, name Sales ADDvizer

Billing - Email Betreff ADDvizer Mail

Billing - Forwarding adresses ADDvizer <[email protected]>

Billing - Ordermail subject Ihre Bestellung Nr:{$nr} / {$d ...

Link to comment
Share on other sites

Originally posted by frankweb@Feb 16 2004, 17:19 PM

und jetzt klappts :bounce: :bounce: :bounce: :bounce:

ja..............

diese Stelle die du dort angibts ist mit beim installationsprozess dort eingetragen worden

ich habe das nicht so geschrieben

jo, manche mailserver kommen damit nicht klar.

Link to comment
Share on other sites

Ich mache neu Kundenkonto.

Mir schreibt:

Warning: smtpsend(): Unable to access /home/www/web50/html/xtcommerce//home/www/web50/html/xtcommerce/includes/classes/class.smtp.php in /home/www/web50/html/xtcommerce/includes/classes/class.phpmailer.php on line 463

Warning: smtpsend(/home/www/web50/html/xtcommerce//home/www/web50/html/xtcommerce/includes/classes/class.smtp.php): failed to open stream: No such file or directory in /home/www/web50/html/xtcommerce/includes/classes/class.phpmailer.php on line 463

Warning: smtpsend(): Failed opening '/home/www/web50/html/xtcommerce//home/www/web50/html/xtcommerce/includes/classes/class.smtp.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /home/www/web50/html/xtcommerce/includes/classes/class.phpmailer.php on line 463

SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "220 mail.brigado.org ESMTP Postfix " SMTP -> get_lines(): $data is "220 mail.brigado.org ESMTP Postfix " SMTP -> FROM SERVER: 220 mail.brigado.org ESMTP Postfix SMTP -> get_lines(): $data was "" ...

...SMTP -> get_lines(): $data is "250 Ok " SMTP -> FROM SERVER: 250 Ok Message was not sent

Mailer Error: Language string failed to load: recipients_failed

Brief sendet.

weite funktioniert nicht.

Warum???

Link to comment
Share on other sites

doppelte pfaadbeledung in der xtc_php_mail.inc.php , wurde jedoch schon behoben.

anbei aktuelle datei:


<?php

/* -----------------------------------------------------------------------------------------

  $Id: xtc_php_mail.inc.php,v 1.7 2004/02/22 16:15:30 fanta2k Exp $  


  XT-Commerce - community made shopping

  http://www.xt-commerce.com


  Copyright (c) 2003 XT-Commerce

  -----------------------------------------------------------------------------------------

  based on: 

  (c) 2003 nextcommerce (xtc_php_mail.inc.php,v 1.17 2003/08/24); [url]www.nextcommerce.org[/url]



  Released under the GNU General Public License 

  ---------------------------------------------------------------------------------------*/


 function xtc_php_mail($from_email_address, $from_email_name, $to_email_address, $to_name, $forwarding_to, $reply_address, $reply_address_name, $path_to_attachement, $path_to_more_attachements, $email_subject, $message_body_html, $message_body_plain) {

   global $mail_error;


$mail = new PHPMailer();

$mail->PluginDir=DIR_FS_DOCUMENT_ROOT.'includes/classes/';

if ($_SESSION['language']=='german') {

$mail->SetLanguage("de",DIR_WS_CLASSES);

} else {

$mail->SetLanguage("en",DIR_WS_CLASSES);

}

if (EMAIL_TRANSPORT=='smtp') {

$mail->IsSMTP(); 

$mail->SMTPKeepAlive = true;                  // set mailer to use SMTP

$mail->SMTPAuth = SMTP_AUTH;                  // turn on SMTP authentication true/false

$mail->Username = SMTP_USERNAME;                // SMTP username

$mail->Password = SMTP_PASSWORD;                // SMTP password

$mail->Host = SMTP_MAIN_SERVER . ';' . SMTP_Backup_Server;   // specify main and backup server "smtp1.example.com;smtp2.example.com"

}


if (EMAIL_TRANSPORT=='sendmail') {               // set mailer to use SMTP

$mail ->IsSendmail();    

$mail->Sendmail=SENDMAIL_PATH;

}

if (EMAIL_TRANSPORT=='mail') {

$mail ->IsMail();                                         

} 



if ( EMAIL_USE_HTML=='true' )                  // set email format to HTML

{

   $mail -> IsHTML(true);

   $mail->Body  = $message_body_html;

   // remove html tags

   $message_body_plain=str_replace('<br>'," \n",$message_body_plain);

   $message_body_plain=strip_tags($message_body_plain);

   $mail->AltBody = $message_body_plain;

}

else

{

   $mail -> IsHTML(false);

   //remove html tags

   $message_body_plain=str_replace('<br>'," \n",$message_body_plain);

   $message_body_plain=strip_tags($message_body_plain);

   $mail->Body  = $message_body_plain;

} 


$mail->From = $from_email_address;

$mail->FromName = $from_email_name;

$mail->AddAddress($to_email_address, $to_name);

$mail->AddBCC($forwarding_to);

$mail->AddReplyTo($reply_address, $reply_address_name);


$mail->WordWrap = 50;                       // set word wrap to 50 characters

//$mail->AddAttachment($path_to_attachement);           // add attachments

//$mail->AddAttachment($path_to_more_attachements);        // optional name                     


$mail->Subject = $email_subject;



if(!$mail->Send())

{

  echo "Message was not sent <p>";

  echo "Mailer Error: " . $mail->ErrorInfo;

  exit;

}

}


?>

ps: F?r fragen die nichts mit dem Thema des threads zu tun haben, immer ein eigen thread aufmachen, solche fragen in fremden threads werden normal komentarlos gel?scht.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...