Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Send fake mail Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Ramses
Newbie
Newbie
Avatar

Joined: 17 July 2009
Location: Italy
Online Status: Offline
Posts: 6
Posted: 17 July 2009 at 7:01am | IP Logged Quote Ramses

Hi,
in sending the email, leaving the active field "From", allows you to send fake mail.

Can I disable it in some way and to take the default address?

I'm sorry for my bad English.
Back to Top View Ramses's Profile Search for other posts by Ramses
 
Corwin
Valued Community Member
Valued Community Member
Avatar

Joined: 16 March 2009
Location: Russian Federation
Online Status: Offline
Posts: 15
Posted: 17 July 2009 at 7:09am | IP Logged Quote Corwin

Hm... Maybe I could help but need to know do you use WebMail Lite or Pro, ASP.NET or PHP?

PS: actually, your English is quite nice

Cheers,
Corwin.
Back to Top View Corwin's Profile Search for other posts by Corwin Visit Corwin's Homepage
 
Ramses
Newbie
Newbie
Avatar

Joined: 17 July 2009
Location: Italy
Online Status: Offline
Posts: 6
Posted: 17 July 2009 at 7:24am | IP Logged Quote Ramses

Thanks,

my version is WebMail Lite Php
Back to Top View Ramses's Profile Search for other posts by Ramses
 
Corwin
Valued Community Member
Valued Community Member
Avatar

Joined: 16 March 2009
Location: Russian Federation
Online Status: Offline
Posts: 15
Posted: 17 July 2009 at 7:57am | IP Logged Quote Corwin

Exactly the version I'm using for my project, and I'd like to turn off that editable From too. When I find a way to do it I will let you know!

Cheers,
Corwin
Back to Top View Corwin's Profile Search for other posts by Corwin Visit Corwin's Homepage
 
Ramses
Newbie
Newbie
Avatar

Joined: 17 July 2009
Location: Italy
Online Status: Offline
Posts: 6
Posted: 17 July 2009 at 8:07am | IP Logged Quote Ramses

Thank you very much
Back to Top View Ramses's Profile Search for other posts by Ramses
 
Corwin
Valued Community Member
Valued Community Member
Avatar

Joined: 16 March 2009
Location: Russian Federation
Online Status: Offline
Posts: 15
Posted: 21 July 2009 at 7:05am | IP Logged Quote Corwin

Can't believe it, I've found it, and it is VERY simple. Maybe you know - afterlogic webmail can work in super powerful ajax mode for modern browsers, and in simpler "classic" mode for older browsers. I think that the fix must be done for both modes. First, let's do it for ajax mode. Open screen.new-message.js file and find two lines, they were lines 420 & 421 for my version:
Code:
inp.tabIndex = 1;
this._fromObj = inp;


I have added one small line:
Code:
inp.tabIndex = 1;
inp.disabled = true;
this._fromObj = inp;


For "classic" it is more complicated, but not too much Find class_newmessage.php file in "classic" directory, line 346:
Code:
<input class="wm_input" tabindex="1" type="text" size="93" name="from" value="'.ConvertUtils::AttributeQuote($this->From).'" />


We will have to replace it with two lines
Code:
<input disabled="disabled" class="wm_input" tabindex="1" type="text" size="93" name="fromdisabled" value="'.ConvertUtils::AttributeQuote($this->From).'" />
<input type="hidden" name="from" value="'.ConvertUtils::AttributeQuote($this->From).'" />


Could not simply set disabled for that line: message will be sent without "From" in such case!

Hope this helps!

Cheers,
Corwin
Back to Top View Corwin's Profile Search for other posts by Corwin Visit Corwin's Homepage
 
Ramses
Newbie
Newbie
Avatar

Joined: 17 July 2009
Location: Italy
Online Status: Offline
Posts: 6
Posted: 22 July 2009 at 7:22am | IP Logged Quote Ramses

Hi,
The classic version works with your modified,
the ajax version don't work

Is there another solution? Also delete the field "From".

     
thanks for your precious help
Back to Top View Ramses's Profile Search for other posts by Ramses
 
Corwin
Valued Community Member
Valued Community Member
Avatar

Joined: 16 March 2009
Location: Russian Federation
Online Status: Offline
Posts: 15
Posted: 22 July 2009 at 7:27am | IP Logged Quote Corwin

Hmmm... This is very strange, modification worked for me like a charm. I can recommend to clear cache of a browser, maybe unmodified version of javascript file stuck there. Meanwhile, I'll try to modify this in some other way.

By the way: what browser you use?

Cheers,
Corwin.
Back to Top View Corwin's Profile Search for other posts by Corwin Visit Corwin's Homepage
 
Ramses
Newbie
Newbie
Avatar

Joined: 17 July 2009
Location: Italy
Online Status: Offline
Posts: 6
Posted: 22 July 2009 at 7:51am | IP Logged Quote Ramses

IE 7

FF 3.0

Back to Top View Ramses's Profile Search for other posts by Ramses
 
Ramses
Newbie
Newbie
Avatar

Joined: 17 July 2009
Location: Italy
Online Status: Offline
Posts: 6
Posted: 22 July 2009 at 8:26am | IP Logged Quote Ramses



I cleaned the Cache, I redid the changes and now everything works.

Now you should only implement the "confirm reading" and will be perfect !!

Thanks again
Back to Top View Ramses's Profile Search for other posts by Ramses
 
marci
Valued Community Member
Valued Community Member


Joined: 15 August 2007
Location: Denmark
Online Status: Offline
Posts: 22
Posted: 06 August 2009 at 8:38am | IP Logged Quote marci

Anyway, you should not let your mail server allow that..
Back to Top View marci's Profile Search for other posts by marci
 

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