no Email while using PEAR
Hi,
all of a sudden, I can't send E-Mails while using PEAR. I have no idea what my problem is. I updatted to the newes Universal Email.
-> I don't receive any Email
Hi,
all of a sudden, I can't send E-Mails while using PEAR. I have no idea what my problem is. I updatted to the newes Universal Email.
-> I don't receive any Email
Can you send a copy of your page so I can examine the code.
<?php
$MailAttachments = "";
$MailBCC = "";
$MailCC = "";
$MailTo = "";
$MailBodyFormat = "";
$MailBody = "";
$MailImportance = "";
$MailFrom = "xx|WA|xx";
$MailSubject = "Check 01";
$_SERVER["QUERY_STRING"] = "";
//Global Variables
$WA_MailObject = WAUE_Definition("/home/web6/PEAR/","smtp.xx.de","25","xx","xx","true","","","","ISO-8859-1");
if ($RecipientEmail) {
$WA_MailObject = WAUE_AddRecipient($WA_MailObject,$RecipientEmail);
}
else {
//To Entries
}
//Attachment Entries
//BCC Entries
//CC Entries
//Body Format
$WA_MailObject = WAUE_BodyFormat($WA_MailObject,0);
//Set Importance
$WA_MailObject = WAUE_SetImportance($WA_MailObject,"3");
//Start Mail Body
del body for forum
//End Mail Body
$WA_MailObject = WAUE_SendMail($WA_MailObject,$MailAttachments,$MailBCC,$MailCC,$MailTo,$MailImportance,$MailFrom,$MailSubject,$MailBody);
$WA_MailObject = null;
?>
do you need the WAUE_*.php , too?
THANKS !!!!
I checked the logfiles, no conection to the smtp server
I need the full php file you have applied the universal email server behavior to.
Please add that file to a zip archive and send it with your reply.
<?php require_once("../WA_Universal_Email/PEAR_Mail_using_SMTP_PHP.php"); ?>
<?php require_once("../WA_Universal_Email/MailFormatting_PHP.php"); ?>
<?php
if (("" == "")) {
//WA Universal Email object="PEAR Mail using SMTP"
//Send Loop Once Per Entry
$RecipientEmail = "xx@xx.com";include("../WA_Universal_Email/WAUE_*.php");
//Send Mail All Entries
if (""!="") {
header("Location: ");
}
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Unbenanntes Dokument</title>
</head>
<body>
</body>
</html>
and the wa.zip
It looks like that should work.
Is there a php error occurring?
Add the following at line 1:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>
this will show any errors if there are any.
Perhaps try leaving the SMTP server blank?
where do you want the PHP Code? (what php File?)
I have to work with the SMTP Server :(
At line 1 of the page you have applied Universal Email to.
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>
<?php require_once("WA_Universal_Email/PEAR_Mail_using_SMTP_PHP.php"); ?>
<?php require_once("WA_Universal_Email/MailFormatting_PHP.php"); ?>
<?php
if (("" == "")) {
//WA Universal Email object="PEAR Mail using SMTP"
//Send Loop Once Per Entry
$RecipientEmail = "xx@xx.com";include("WA_Universal_Email/WAUE_xx_1.php");
//Send Mail All Entries
if (""!="") {
header("Location: ");
}
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Unbenanntes Dokument</title>
</head>
<body>
</body>
</html>
so, no errors what's so ever !! :( - And no Emails :(
Have you tried leaving the SMTP server blank?
Are you entering a value for the From Display name? If so try leaving that blank as well.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.