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
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
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
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
Form theme not sent in email - 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: Form theme not sent in email (/showthread.php?tid=469)



Form theme not sent in email - izzysanime - Jan 29th, 2010

Hi,

I used the default email template and it does not fully get sent in the emails.

The template has some intro in it: "There has been a form submission....", followed by the submission. But in the email I receive, I just get the submission with no intro.

In the preview test email option, it has it all there, but does not email it.

Any suggestions?

Version: v2.0.0-beta-20100118

Thanks,
Josh


RE: Form theme not sent in email - Ben - Jan 30th, 2010

Hi Josh,

Are you sending the information in both HTML and text format? It sounds like maybe the intro was added to one of them but not the other, and that your email client is showing the other content.

In case anyone's puzzled about this: emails are commonly sent TWICE for every email (!): one in HTML format, one in text format. Then, depending on the program you're using to read the email, it will choose either the text or HTML content (but never both). This is a handy way to ensure that the email you're sending will show up properly for ALL email programs.

Let me know if this doesn't help, Josh.

- Ben


RE: Form theme not sent in email - izzysanime - Jan 30th, 2010

Hi Ben,
Thanks for your reply. I double checked and the templates for both HTML and text are the same. A screenshot is attached with both containing the intro.

Thanks,
Josh

[attachment=40]


RE: Form theme not sent in email - axel - Jan 30th, 2010

Have you received your test email under the Test tab?
If you don't get that, there might be an issue with your server.

I recently delt with Form Tools not sending emails. (I was very saddened by this.) And ended up using Swift Mailer to send the emails though my companies SMTP server at Google.

But here's a question for you Ben:
I found out that some web email clients don't display anything when you send both the Text and HTML email in the headers. It just shows a blank page. When I just put nothing in one or the other, it works fine, but never both.

Hotmail was the biggest problem. They just show garbage.
Gmail/Google Apps Mail works fine, oddly.

I just shrugged and used Text because it didn't have to be pretty, but it was one of those oddities.


RE: Form theme not sent in email - Ben - Jan 31st, 2010

Hey guys,

Axel: would it be possible to post the raw content of a multipart email that look funny in hotmail? I haven't used hotmail in years, but I know gmail has a "show original" option that lets you see the raw characters; presumably hotmail has something equivalent. This would really help in debugging.

Josh: this is a rather odd situation! Smile How many email templates do you have? Are you positive that the one you posted is the one that's being used to send the email? I don't want to sound like I don't believe you (!), it's just that I can't imagine how this could occur... the email content is being generated from one email template or other - the process is simple: grab content, parse out Smarty content - so I just can't see why it would strip out a section. It seems more likely that there may be two email templates being used.

- Ben


RE: Form theme not sent in email - izzysanime - Jan 31st, 2010

Hmmm, I did send a test email before. This time I thought of looking at the source code. For some reason in the code, the text is there, but not showing up in the actual email window. Perhaps its a Thunderbird issue. Sorry about that, that seems to be a Thunderbird issue.

Thanks,
Josh


RE: Form theme not sent in email - Ben - Jan 31st, 2010

Weird! Do let me know if you find out any more details or need a hand.

- Ben