Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: How to change default to plain text Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Guests
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 28 February 2005 at 9:26am | IP Logged Quote Guests

How can I change the default email form to plain text as I have alot of Mac users that the form doesn't work for.

Thanks,
Timothy Tisdel
Back to Top View Guests's Profile Search for other posts by Guests
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 28 February 2005 at 10:01am | IP Logged Quote Alex

If you're WebMail Pro 3.0 user, open '/web/functions_new.inc.asp' file, go to line 694, and replace this:
switch_plain_html = 1
with this:
switch_plain_html = 0

(This will work if default uploader is used. For Dundas uploader, fix line 715, for SoftArtisans - line 736.)

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
Guests
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 28 February 2005 at 10:31am | IP Logged Quote Guests

Alex,
Thanks for the fast response. I'm using Web Mail Pro 3.0 but don't find that VAR in that file except in the form: onClick="document.message_form.switch_plain_html.value=0; boolFormReady = true; CheckNewForm(2)" class="wm_button">

In fact the functions_new_inc.asp file is only 491 lines long...

Thanks,
Tim
Back to Top View Guests's Profile Search for other posts by Guests
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 28 February 2005 at 10:54am | IP Logged Quote Alex

Maybe your text editor lists lines in different way?

functions_new_inc.asp is larger than 600 lines even in 2.x versions, and is 1000+ lines in 3.x versions.

the entire block of statement where the replacement must be made is:
Code:

                If  Len(Trim(CollElements("switch_plain_html"))) = 0 Then
                      switch_plain_html = 1
                Else
                      switch_plain_html = DataEncodeNumeric(CollElements("switch_plain_html"))
                End  If


Line to fix is second one.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide