* This is the modus mailing list *
[CC'd to the Modus Beta Team]
Your findings are correct, except that Outlook 2003 does not displays a
blank from field.
I've had another look at the ASP code which generates an email, and I
think the core part is:
If IsObject(Session("NewMessage:" & MessageID)) Then
Set NewMessage = Session("NewMessage:" & MessageID)
Else
Set NewMessage = Folder.GetEnvelopeByID(MessageID)
End If
I've done some digging and from what I can tell the VopMailWeb.dll
contains the necessary code. After digging through things a bit I
believe there is a Envelope Object within the COM Object that has the
following ReadOnly Properties:
FormattedFrom : String
>From : Object
I believe the Object used for the From value is the Recipient object
which has the following properties:
Address : String
Name : String
Type : Enumeration
The Type Enumeration has the following values:
ADDRESS_NULL = 0
ADDRESS_FROM = 1
ADDRESS_REPLYTO = 2
ADDRESS_TO = 3
ADDRESS_CC = 4
ADDRESS_BCC = 5
Unfortunately the only thing that I can gain from all this is that it is
the underlying COM Object that creates a New instant of the Envelop and
Message object to pass back to the ASP pages. Unfortuantely the ASP
pages do not set the 'From' attributes as these are taken from the
MailSession object during a NewMessage method call.
End result is Vircom will have to modify the COM Object to cure this
particular problem
BTW, this analysis took 45 minutes on its own, and shows just how
difficult it is to work with the current Web Mail system as a third
party developer. It would be so much nicer if they implemented this
using .Net and used in line comments with NDoc to provide us with some
documentation for the generated Assemblies (even when using VB.Net you
can generate comment files as there is a project on GotDotNet as part
off the Visual Studio .Net PowerToys).
---
47.5% of all statistics are made up on the spot.
(--------------------------------) {((((((
( Suneel Jhangiani ) /_ _ )
( Technical Director ) ( . . )
( Inter-Computer Technology Ltd. ) ( / )
(----------------------------------oOOo------------oOOo----)
( 40 James Street Tel: +44 (0) 20 7486 9601 )
( London W1U 1EU Fax: +44 (0) 7050 678 978 )
( United Kingdom Email: [EMAIL PROTECTED] )
( Website: http://www.inctech.com )
(----------------------------------------------------------)
-----Original Message-----
From: Dave Joyce [mailto:[EMAIL PROTECTED]
Sent: 03 December 2003 17:10
To: [EMAIL PROTECTED]
Subject: [Modus] Return Address
* This is the modus mailing list *
I just did some testing with this reply to address info from the webmail
server. This is what I found.
I sent a message using my webmail account that had my Name entered under
the
Settings tab
I got a message in my Outlook and Yahoo accounts that said the message
was
from Dave Joyce
I then sent a test message using a webmail account without the Name
Setting
In Outlook it said it came from [EMAIL PROTECTED]
But in Yahoo there was no name in the Sender column.
When I looked at the message in Yahoo it showed that it came
From: "" <[EMAIL PROTECTED]>
I looked at the headers in Outlook and it showed this
From: "" <[EMAIL PROTECTED]>
It seems Outlook is smart enough to present the email address if the
quoted
name is empty but Yahoo is not.
I then used Outlook express found the reg entry that controls
SMTPAddress
and set it to blank. (Can't do that from inside program since it
requires
something in there to save the settings) I then resent the test
messages.
Yahoo now properly shows an email address in the senders list. The only
difference is the From line in the header looks like
From: <[EMAIL PROTECTED]>
So I would assume having the DLL or ASP code altered to remove the
double ""
would fix this problem. Where in the code does this get set? Can we do a
mod
now or do we have to wait for a fix from Vircom?
Regards,
Dave Joyce
Internet Manager
RTC on Line
**
To unsubscribe, send an Email to: [EMAIL PROTECTED]
with the word "UNSUBSCRIBE" in the body or subject line.
**
To unsubscribe, send an Email to: [EMAIL PROTECTED]
with the word "UNSUBSCRIBE" in the body or subject line.