The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Sending blank emails! - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: Sending blank emails! (/showthread.php?tid=618)



Sending blank emails! - tr3x86 - Mar 29th, 2010

Hello,

I performed a search on this topic, but didn't find the answer I was looking for. I have two separate forms and both send out confirmation emails on submission and when updated. The problem I'm experiencing is that the emails are coming to our customers with nothing in them; completely blank, besides Gmail and some Outlook clients. This only occurs with the nicely formatted emails with graphics.

Any ideas? The HTML Code is below:
Quote:<center>
<table width="600" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="5" height="20"> </td>
</tr>
<tr>
<td colspan="5" ><a href="http://www.bendpak.com" target="_blank"><img border="0" width="600" height="88" src="http://www.bendpak.com/BP-Emailthis_Header.jpg" alt="Thank you for inquiring about BendPak" /></a></td>
</tr>
<tr>
<td width="1" bgcolor="#CCCCCC" align="left" valign="top"></td>
<td width="19" bgcolor="#FFFFFF" align="left" valign="top"> </td>
<td width="560" bgcolor="#FFFFFF" align="left">


<table width="560" border="0" cellpadding="5">
<tr>
<td>
<font face="Tahoma, Geneva, sans-serif" size="2" color="#333333">
<p>Dear {$ANSWER_Name},</p>
<p>Thank you for your BendPak / Ranger product query. This email is to confirm that we have received your request and will process your information within the next 24 hours.</p>
<p>You'll receive a follow-up email containing your quote number and contact information to an authorized BendPak / Ranger Dealer.</p>
<p><strong>***NOTICE***</strong> If the BendPak dealer attempts to sell you, provide pricing for, or otherwise offer you lesser-quality, non-BendPak / Ranger product(s), we would appreciate hearing from you. Simply notify us via return e-mail at <a href="mailto:contact@bendpak.com">contact@bendpak.com</a>. BendPak does not in any way endorse this practice and will happily provide you with information for another dealer in your area. <strong>Your alert will be kept anonymous.</strong></p>
<p>Sincerely,<br />
The BendPak Team</p>
</font></td>
</tr>
</table>
</td>
<td width="19" bgcolor="#FFFFFF" align="left" valign="top"> </td>
<td width="1" bgcolor="#CCCCCC" align="left" valign="top"></td>
</tr>
</table>
<table width="600" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<a href="http://www.bendpak.com" target="_blank"><img src="http://www.bendpak.com/BP-Email_Footer.jpg" alt="Visit BendPak's website!" border="0" width="600" height="131"/></a>
</td>
</tr>
</table>
</center>
[/quote]


RE: Sending blank emails! - Ben - Apr 3rd, 2010

Hi tr3x86,

Thanks for the post!

Are you using the Swift Mailer plugin or just the default email option? If you DO have access to an SMTP server, I would recommend looking into that plugin: Swift is a far better way to send emails and problems like this may just "magically" disappear. The PHP mail() function used by the default settings is notoriously inconsistently implemented across servers.

Are you sending the email in both HTML and text format? Could you try sending it in just HTML to see if that makes a difference?

The email content you posted looks fine, so I don't think it's that. However, would it be possible for you to post the raw email text? Most (if not all) email clients will give you the option to look at the email source code - it'll contain header information and both text + HTML content if you're sending multi-part emails.

Speak soon!

- Ben