php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15496 Email Size
Submitted: 2002-02-11 01:07 UTC Modified: 2002-02-17 03:55 UTC
From: KROBERTS at ROBERTSESQ dot COM Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 4.1.1 OS: XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: KROBERTS at ROBERTSESQ dot COM
New email:
PHP Version: OS:

 

 [2002-02-11 01:07 UTC] KROBERTS at ROBERTSESQ dot COM
There looks to be a bug in the email on size small is on put some data in the email and I get:

Server=watson.microsoft.com
UI LCID=1033
Flags=33552
Brand=WINDOWS
TitleName=php.exe
DigPidRegPath=HKLM\Software\Microsoft\Windows NT\CurrentVersion\DigitalProductId
RegSubPath=Microsoft\PCHealth\ErrorReporting\DW
ErrorText=If you were in the middle of something, the information you were working on might be lost.
Stage1URL=/StageOne/php_exe/0_0_0_0/php4ts_dll/0_0_0_0/000a09ed.htm
Stage2URL=/dw/stagetwo.asp?szAppName=php.exe&szAppVer=0.0.0.0&szModName=php4ts.dll&szModVer=0.0.0.0&offset=000a09ed
DataFiles=C:\DOCUME~1\kroberts\LOCALS~1\Temp\WER7F.tmp.dir00\php.exe.mdmp
ErrorSubPath=php.exe\0.0.0.0\php4ts.dll\0.0.0.0\000a09ed


Help Please

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-16 22:14 UTC] KROBERTS at ROBERTSESQ dot COM
Is any one going to answer this?
 [2002-02-16 22:50 UTC] yohgaki@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".



 [2002-02-16 23:48 UTC] KROBERTS at ROBERTSESQ dot COM
$db = mysql_connect($dbhost,$dbuser,$dbpasswd) or die("Unable to connect to database");
 	@mysql_select_db("$dbname", $db) or die("Unable to select database $dbname");	
 	$sqlquery = mysql_query("SELECT * FROM `text_questionnaire` " ,$db);
	while ($tablerows = mysql_fetch_row($sqlquery))	
	{							
		$HTMLEmailText = "<html><head>";
		$HTMLEmailText .= "<meta http-equiv=\"Content-Language\" content=\"en-us\">";
		$HTMLEmailText .= "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1252\">";
		$HTMLEmailText .= "<title>$tablerows[14]</title>";
		$HTMLEmailText .= "<meta http-equiv=\"Page-Enter\" content=\"revealTrans(Duration=3.0,Transition=12)\">";
		$HTMLEmailText .= "<BODY BGCOLOR=#FFFFC0 TEXT=Black LINK=red VLINK=Green ALINK=Green>";
		$HTMLEmailText .= "<H1>$tablerows[14] </H1>";
		$HTMLEmailText .= "<TD VALIGN=TOP ALIGN=LEFT><Font COlor=#000080><b>Here is the information we recieved </b></font><Table>";
		$HTMLEmailText .= "<TD VALIGN=TOP ALIGN=LEFT><Font COlor=#000080><b>$tablerows[9]</b></font><TD ALIGN=Left>$Name<TR>"; 
		$HTMLEmailText .= "<TD VALIGN=TOP ALIGN=LEFT><Font COlor=#000080><b>$tablerows[10]</b></font><TD ALIGN=Left>$Email<TR>";
		$HTMLEmailText .= "<TD VALIGN=TOP ALIGN=LEFT><Font COlor=#000080><b>$tablerows[11]</b></font><TD ALIGN=Left>$Phone<TR>"; 
		$HTMLEmailText .= "<TD VALIGN=TOP ALIGN=LEFT><Font COlor=#000080><b>$tablerows[12]</b></font><TD ALIGN=Left>$Fax<TR>";
		$HTMLEmailText .= "<TD VALIGN=TOP ALIGN=LEFT><Font COlor=#000080><b>$tablerows[1]</b></font><TD ALIGN=Left>$Contaminated<TR>"; 
		//$HTMLEmailText .= "<TD VALIGN=TOP ALIGN=LEFT><Font COlor=#000080><b>$tablerows[2]</b></font><TD ALIGN=Left>$When_and_how<TR>";
		//$HTMLEmailText .= "<TD VALIGN=TOP ALIGN=LEFT><Font COlor=#000080><b>$tablerows[3]</b></font><TD ALIGN=Left>$discovered<TR>"; 
		//$HTMLEmailText .= "<TD VALIGN=TOP ALIGN=LEFT><Font COlor=#000080><b>$tablerows[4]</b></font><TD ALIGN=Left>$symptom<TR>";
		//$HTMLEmailText .= "<TD VALIGN=TOP ALIGN=LEFT><Font COlor=#000080><b>$tablerows[5]</b></font><TD ALIGN=Left>$Government<TR>"; 
		//$HTMLEmailText .= "<TD VALIGN=TOP ALIGN=LEFT><Font COlor=#000080><b>$tablerows[6]</b></font><TD ALIGN=Left>$physicians<TR>";
		//$HTMLEmailText .= "<TD VALIGN=TOP ALIGN=LEFT><Font COlor=#000080><b>$tablerows[7]</b></font><TD ALIGN=Left>$adequate<TR>"; 
		//$HTMLEmailText .= "<TD VALIGN=TOP ALIGN=LEFT><Font COlor=#000080><b>$tablerows[8]</b></font><TD ALIGN=Left>$Comments<TR>";
		//$HTMLEmailText .= "<TD VALIGN=TOP ALIGN=LEFT><Font COlor=#000080><b>$tablerows[13]</b></font><TD ALIGN=Left>$Contact<TR>";
		$HTMLEmailText .= "<TD VALIGN=TOP ALIGN=LEFT><Font COlor=#000080><b>$tablerows[16]</b></font><TD ALIGN=Left>$User_Data_1<tr>";
		$HTMLEmailText .= "     ";
		
	}

It will send mail OK with the lines rem out

Will not send mail with them in, if the user adds lost of data
 [2002-02-17 03:55 UTC] yohgaki@php.net
You don't have to submit duplicate. You've commented for bug #11165 and this report is duplicate the bug report.

The bug is not fixed.
It's just there is no developer willing to rewrite mail code for windows. (yet)

Feel free to submit patch for it :)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 04 20:01:32 2024 UTC