Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Read confirmation Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
jony639
Newbie
Newbie


Joined: 03 September 2008
Location: Spain
Online Status: Offline
Posts: 13
Posted: 19 September 2008 at 4:21am | IP Logged Quote jony639

Hello, since we installed Mailbee Webmail Pro this week, many ussers asked me for the option of check an email with read confirmation as they could do in outlook.

How can i activate that option to the email editor so they can check it or not?
Back to Top View jony639's Profile Search for other posts by jony639
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 19 September 2008 at 6:45am | IP Logged Quote Andrew

Requesting read confirmation in WebMail Pro user interface (compose screen) is not supported yet, but it's planned for development in one of subsequent releases of the product.

As for now, you may hardcode requesting read confirmation for all outgoing messages sent from any user account in your WebMail Pro ASP.NET installation.

In App_Code/Smtp.cs file after the following line (~26):
Code:
MailMessage messageToSend = new MailMessage();

add the following line:
Code:
messageToSend.ConfirmRead = message.MailBeeMessage.From.ToString();


Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
jony639
Newbie
Newbie


Joined: 03 September 2008
Location: Spain
Online Status: Offline
Posts: 13
Posted: 07 October 2008 at 11:45pm | IP Logged Quote jony639

It doesnt work, or at least i send mails and it doesnt ask for read confirmation when people open it.

My code is:
Code:

MailMessage messageToSend = new MailMessage();
messageToSend.ConfirmRead = message.MailBeeMessage.From.ToString();
messageToSend.Priority = message.MailBeeMessage.Priority;
messageToSend.From = message.MailBeeMessage.From;
messageToSend.To = message.MailBeeMessage.To;
......



What could be wrong?
Back to Top View jony639's Profile Search for other posts by jony639
 
jony639
Newbie
Newbie


Joined: 03 September 2008
Location: Spain
Online Status: Offline
Posts: 13
Posted: 07 October 2008 at 11:55pm | IP Logged Quote jony639

Here i paste you the header of a mail created with webmail:

Code:

Return-Path: <jonathan@viajescajasol.es>
Delivered-To: admin@viajescajasol.es
X-AuthUser: jonathan@viajescajasol.es
Received: from viajescajasol.es ([127.0.0.1]:3229)
     by viajescajasol.es with [XMail 1.25 ESMTP Server]
     id <S44026> for <admin@viajescajasol.es> from <jonathan@viajescajasol.es>;
     Wed, 8 Oct 2008 08:46:37 +0200
Received: from viajescajasol.es ([192.168.2.11] helo=viajescajasol.es) by
     ASSP.nospam; 8 Oct 2008 08:46:37 +0200
MIME-Version: 1.0
X-Mailer: MailBee.NET 4.0.2.114
X-Priority: 3 (Normal)
From: <jonathan@viajescajasol.es>
To: <admin@viajescajasol.es>
Subject: test
Date: Wed, 08 Oct 2008 08:42:31 +0200
X-Originating-IP: 83.33.170.219
Message-ID: <3.5785e27144c75d3f5ba9@asia>
Content-Type: multipart/alternative;
     boundary="----=_NextPart_000_2 A9C_4CCD940D.BE482F54"



Shouldnt it include something like this?:
Code:

Disposition-Notification-To: "My name" <jonathan@viajescajasol.es>"
Back to Top View jony639's Profile Search for other posts by jony639
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6043
Posted: 08 October 2008 at 3:15am | IP Logged Quote Igor

Although ISS should automatically perform recompilation when App_Code folder content gets modified, we've met situations when it doesn't happen for some reason. Please try to recompile your WebMail Pro installation. To do it, you'll need Visual Studio 2005
SP1 or above.

Regards,
Igor
Back to Top View Igor's Profile Search for other posts by Igor
 
jony639
Newbie
Newbie


Joined: 03 September 2008
Location: Spain
Online Status: Offline
Posts: 13
Posted: 10 November 2008 at 5:38am | IP Logged Quote jony639

I've been going over this issue again this morning and I feel I could delete the whole method and it would still continue to ignore me. It could be Visual Studio failing to recompile, but I've tried to compile it into different directories in the server and from different machines with no luck.
Back to Top View jony639's Profile Search for other posts by jony639
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6043
Posted: 10 November 2008 at 6:03am | IP Logged Quote Igor

This may occur if you use Visual Studio 2005 with no Service Pack 1 installed, or if you've opened WebMail Pro as a web site though it should be opened as a web application.

To check if this is the case, try to modify the source code with some syntax error made and recompile the application. If it is still recompiled successfully, you should make sure you have SP1 for Visual Studio 2005 installed and you open WebMail as a web application.

Please let us know the outcome.

Regards,
Igor.
Back to Top View Igor's Profile Search for other posts by Igor
 
jony639
Newbie
Newbie


Joined: 03 September 2008
Location: Spain
Online Status: Offline
Posts: 13
Posted: 10 November 2008 at 6:45am | IP Logged Quote jony639

I've tried :

MailMessage messageToSend = new MailMessage();
messageToSend.ConfirmRead = message.MailBeeMessage.From.ToString();
messageToSend.Priority = message.MailBeeMessage.Priority;
oh no !
messageToSend.From = message.MailBeeMessage.From;

It yields a syntax error, but trying something obvious like :

messageToSend.Subject = "TEST"; // message.MailBeeMessage.Subject;

This one doesn't change anything.

Back to Top View jony639's Profile Search for other posts by jony639
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6043
Posted: 10 November 2008 at 7:04am | IP Logged Quote Igor

What exactly do you mean of "It yields a syntax error"? Does it refuse to compile or just underline the erroneous line?

Please also let us know what version of Visual Studio you use. Do you open WebMail project as a web site or as a web application?

Regards,
Igor
Back to Top View Igor's Profile Search for other posts by Igor
 
jony639
Newbie
Newbie


Joined: 03 September 2008
Location: Spain
Online Status: Offline
Posts: 13
Posted: 10 November 2008 at 7:36am | IP Logged Quote jony639

It refuses to compile.

We are using Visual Studio 2005 SP1, and open WebMail project as a web site.
Back to Top View jony639's Profile Search for other posts by jony639
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6043
Posted: 10 November 2008 at 7:58am | IP Logged Quote Igor

Like we mentioned before, you should open WebMail project as a web application, not as a web site.

Please let us know the outcome.

Regards,
Igor
Back to Top View Igor's Profile Search for other posts by Igor
 
jony639
Newbie
Newbie


Joined: 03 September 2008
Location: Spain
Online Status: Offline
Posts: 13
Posted: 12 November 2008 at 3:04am | IP Logged Quote jony639

Ok, it worked when we opened it as a web application, although we had to use Visual Studio 2008 for that.

Thanks for the support ! =)
Back to Top View jony639's Profile Search for other posts by jony639
 

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