Jump to content

markus79

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

markus79's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Is there any way to get PhpMailer to return a value for the Message-ID that Exim assigns the email that's been sent? I'd like to parse thru an Exim log to see if there were any errors in sending the email, and I need some method of matching the logfile up to what I've sent with PhpMailer. I could use the To: email address, but this doesn't really help if I've sent multiple emails to, I wouldn't know which specific email caused the bounce. Any ideas? Thanx! markus
  2. I am having problems using PhpMailer. I have used this successfully in the past, but the SMTP server is always the localhost. I am trying to send email from a remote smtp server and I keep getting the error "Could not authenticate". I know the username and password are correct. If I move the code over to the server where I want to send the email out, it works perfectly, just not from a remote server, and I've tried a few remote servers. Is there something I need to do on the SMTP server to allow this to work? [code] require("class.phpmailer.php"); $subject = "hello"; $fromEmail = "mark@markknutson.com"; $email = "mark@markknutson.com"; // send email $mail = new phpmailer(); $mail->IsSMTP();                                // send via SMTP $mail->Helo = "mail.d1tv.net"; $mail->Host     = "mail.d1tv.net";                        // SMTP servers $mail->SMTPAuth = true;                            // turn on SMTP authentication $mail->Username = "mknutson@d1tv.net";                        // SMTP username $mail->Password = "**************"; $mail->From     = $fromEmail; $mail->AddAddress($email); $mail->IsHTML(false);                                               // send as HTML $mail->Subject  =  $subject; $mail->Body     =  $body; $mail->Send(); if(!$mail->Send()){   echo "<span class=text>Message was not sent to $email" . $mail->ErrorInfo . "</span><br>"; } [/code] Thanks Markus
  3. Hi freaks, I'm trying to launch a program (Windows Media ASF View) by using shell_exec or exec on Windows 2000. I need the program's GUI to come up. If I execute the php script through command prompt it does; but not when a browser calls it. Does anyone know a way around this, or if I should be using something else? Thanks markus
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.