Quantcast
Channel: Aspose.Email Product Family
Viewing all 1367 articles
Browse latest View live

create task in delegate folder

$
0
0
hello,
I' m using the aspose.email v 2.7.0.0.
My objective is to create a task with aspose dll in the task folder of an user in a exchange server.

i have 2 account:
user1 and user2.
user1 have the right to read/write/modify  on user 2 task folder.

i' m using the following code:

 Dim task As New ExchangeTask
            task.Subject = "Task Test"
            task.StartDate = New Date(2013, 4, 5)
            task.DueDate = New Date(2013, 4, 6)
            task.Priority = Aspose.Email.Mail.MailPriority.Low
            task.Status = ExchangeTaskStatus.InProgress

Dim ExchangeConnection As ExchangeWebServiceClient = New ExchangeWebServiceClient("server", _
                                             "user1", _
                                             "password", _
                                             "domain")

Dim mailBoxInfo As Aspose.Email.Exchange.ExchangeMailboxInfo = ExchangeConnection.GetMailboxInfo("user2")

ExchangeConnection.CreateTask(mailBoxInfo.TasksUri, task)

when the execution is completed the task is created in user1 task folder and not in the folder of the user2.


MailMessage.Load, problem with body

$
0
0
Hello,

We encountered a problem to read the text body of an eml file (check attachment) with aspose 2.8

The body is ok in outlook (2010), but the property MailMessage.Body show strange characters instead of accentuated characters (é and à).

What can we do for having the rights characters like in outlook ? This eml file come from our clients so we have to go with it, we can't tell them to modify it.

Thanks,
Avm Informatique

Exception converting .eml file to .msg file with certain ATTENDEE values

$
0
0

I'm using Aspose.Email to convert .eml files to .msg files. I've encountered a couple of cases where converting a meeting message with specific content (or lack thereof) will generate an exception. This is another instance separate from the others I've recently entered.

I'm using this code to do the conversion

MailMessage msg = MailMessage.Load("file.eml", MessageFormat.Eml);

msg.Save("file.msg",MailMessageSaveType.OutlookMessageFormat); <-generates exception

In this case, the text/calendar section contains this line;

ATTENDEE;SENT-BY="MAILTO:1234@emc.com";ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=ES1TU 0000 04:MAILTO:ES1TU000004@customer.local

If I remove the part in red, the entry is converted successfully. Here's the entire text/calendar entry that causes the error.

Content-Type: text/calendar; charset="utf-8"; method=REQUEST
Content-Transfer-Encoding: 8bit

BEGIN:VCALENDAR
METHOD:REPLY
PRODID:Microsoft Exchange Server 2010
VERSION:2.0
BEGIN:VTIMEZONE
TZID:Romance Standard Time
BEGIN:STANDARD
DTSTART:16010101T020000
TZOFFSETFROM:-0400
TZOFFSETTO:-0500
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=11
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010101T020000
TZOFFSETFROM:-0500
TZOFFSETTO:-0400
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=3
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
ATTENDEE;SENT-BY="MAILTO:1234@emc.com";ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=ES1TU 0000
 04:MAILTO:ES1TU000004@customer.local
COMMENT;LANGUAGE=enUS:\n\n
SUMMARY;LANGUAGE=en-US:test meeting
DTSTART;TZID=Romance Standard Time:20130413T080000
DTEND;TZID=Romance Standard Time:20130413T083000
UID:040000008200E00074C5B7101A82E008000000000043F24A5B2CCE01000000000000000
 0100000003B1B807E8E7E4C4AAED6C88159B2ADFC
CLASS:PUBLIC
PRIORITY:5
DTSTAMP:20130329T125625Z
TRANSP:OPAQUE
STATUS:CONFIRMED
SEQUENCE:1
LOCATION;LANGUAGE=en-US:my office | dial in +44234 745\, PIN dkkd 2
 5170#
X-MICROSOFT-CDO-APPT-SEQUENCE:0
X-MICROSOFT-CDO-OWNERAPPTID:-1357039651
X-MICROSOFT-CDO-BUSYSTATUS:TENTATIVE
X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
X-MICROSOFT-CDO-IMPORTANCE:1
X-MICROSOFT-CDO-INSTTYPE:0
X-MICROSOFT-DISALLOW-COUNTER:FALSE
END:VEVENT
END:VCALENDAR

images are not displaying in Emails

$
0
0

Hi Aspose Team,

I am using Aspose.Email tool to save and upload outlook .msg file in our website.

When those Emails are coming for display in browser, any image in the mail are not displaying.

Can you please check. I am copying the HtmlBody of the email object in our page for display.

Uploading one email which contains image for sample. Please guide.

Thanks

Amit Burnwal

Email Attachments

$
0
0
When I send an attachment, there is an open file handle on all attachements. What method is there to close these file handles?

message To value is incorrect.

$
0
0
Hi All,

I'm using the Aspose Email ddl to grab some emails from accounts in a local mail exchange.

ExchangeMessageInfo msgInfo

var msgUri = msgInfo.UniqueUri;
var msg = client.FetchMessage(msgUri);


I've been testing with emails and found something very odd. 

When I try to retrieve an email that contains more than one 'To" email address the value of
msg.To shows the first address correctly, but then shows only the name of the second email address and if there are any more email address they do not show.

E.G. I send an email to:
"123" <123@mail.com>; "abc" <abc@mail.com>; "def" <def@mail.com>;

The To value ends up being: (semi-colon shown to distinguish a different mail address)
"123" <123@mail.com>; "abc"

When I manually view the email, it contains all of the To: email addresses.
Is there some sort of setting that I am missing?  Or is this a bug?

Grateful for any help,
Andrew

Does Aspose.Email support SASL?

$
0
0
I'm trying to find whether or not Aspose.Email supports the SASL authentication and data security framework. 

Id also be interested to find out whether or not SASL is widely used at all, and is considered mature - it looks like there are still quite a few SASL-related problems around. 

Thanks,
Peter

How do I save a message in drafts on an exchange mailbox

$
0
0
I'd like to create a message and save it in the drafts folder on a users mailbox on the exchange server.
This is so the user can go to their outlook or whatever mail client they are using, and continue with the email and send from there.

Is this possible?

Thanks
Chris

Email Attachments limit of 3 attachments

$
0
0
Hi,

I am having trouble reading the attachments from an Outlook email message (.msg). I create a MapiMessageReader from a stream and reading the attachments, the first 3 are correct, but all the rest of the attachments are only 146 bytes big and incorrect. Is there something I'm doing wrong? Is there a property I can set to change this?

Many thanks.

MSG to PDF

$
0
0
I have a MSG file that I want to convert to PDF. How can I achieve this using Aspose.PDF?

Slow PST File Creation

$
0
0

I'm trying to generate a pst file that will contain about 13K messages. After about 5K messages, the performance slows to a crawl.

 I've also noticed that it appears the pst file may be buffered in memory as I don't see any bytes written to disk during this time. (I'm passing a buffered FileOutputStream) to the PersonalStorage.create(). There is plenty (2G+) of available heap (all generations). Periodic stack traces show something like this:

   java.lang.Thread.State: RUNNABLE
        at com.aspose.email.ms.System.IO.f.c(Unknown Source)
        at com.aspose.email.ms.System.IO.f.b(Unknown Source)
        at com.aspose.email.ms.System.IO.b.a(Unknown Source)
        at com.aspose.email.gM$b.a(Unknown Source)
        at com.aspose.email.gM$b.b(Unknown Source)
        at com.aspose.email.gM$b.a(Unknown Source)
        at com.aspose.email.gM.a(Unknown Source)
        at com.aspose.email.kA.a(Unknown Source)
        at com.aspose.email.hu.<init>(Unknown Source)
        at com.aspose.email.eq.a(Unknown Source)
        at com.aspose.email.eq.a(Unknown Source)
        at com.aspose.email.hz.a(Unknown Source)
        at com.aspose.email.FolderInfo.addMessage(Unknown Source)

I'm running the 2.8.0 release, on a linux/sun 1.6 jdk. 

Are there performance limits, or suggestions on how to improve the performance, and limit the overhead (mem/cpu) when creating pst files?


Email to PDF issue

$
0
0

Hi support,

When the attached email is converted to PDF, the text from the sides is removed. See the attachment here.

Marc

Exchange 2013

$
0
0

Hi,

I use your component for connecting to Exchange and want to know does it support Exchange 2013?

Eml Validation

$
0
0
When I try to validate a regular text file I get no error and the load success.
Am I doing something wrong ?

            EmlValidationErrorCollection x = MailMessage.ValidateMessage(@"NOD32.txt");
            MailMessage mailMsg = MailMessage.Load(@"NOD32.txt");

Aspose.Email support encrypted mail?

$
0
0

Hey, Will your Aspose.Email for Java supports encrypted mail it?
The encryption method is to obtain the X509 certificate, and then encrypt the message content sent through SMTP?
An example of what?


Msg file sender address incorrect format

$
0
0
Hi,

I raised an issue a while ago about the email sender address format:
http://www.aspose.com/community/forums/showthread.aspx?PostID=356833&Subj=msg-file-sender-address-is-invalid-in-outlook#356833

This was marked as fixed under the Aspose.Email for Java 1.7.0 release in the release notes enhancement number NETWRKJAVA-33131.

I have just tested this with the latest version of the library 2.8.0 and found that the problem is still there.
I have attached the sample file used for testing.

Here is the code that was used for testing:

MapiMessage origMessage = MapiMessage.fromFile("C:\\temp\testupload.msg");
System.out.println (origMessage.getSenderEmailAddress());

 The output of the sender address above is still in the format of  </O=TEST/OU=TEST1/CN=RECIPIENTS/CN=TEST>.

Please let me know if this is still a bug.

regards & thanks!

Not detecting Attachments

$
0
0

Hi Support,

The attached ZIP file contains a email and it contains attachment.

 

I am using "Aspose.Email.Mail.MailMessage" to read the email. When i check it says no attachments are available. Where as there is a attachment in the email.

Please Help,

 

Cheers,

ValuePRO

How to set Remainder using Aspose.Email while sending MailMessage through SmtpClient

$
0
0

Hi,

We are using Aspose.Email to send meeting requests through our application (Windows Forms application in VB / Framework 3.5).

Please let me know how can we set reminder like Remind before 2 hours or Remind before 5 mins along with the meeting request?

Note: Reminder needs to be set for mail sent through SmtpClient approach

 

How to map Aspose.Email.Mail.Appointment.UniqueId with Interop.Outlook.AppointmentItem.GlobalAppointmentId

$
0
0

When we create a meeting request (Aspose.Email.Mail.Appointment) and send it through SmtpClient, we can set the UniqueId property which is used to identify the Meeting item in Outlook.

For ex I can set the unique id as “123” and send an appointment. And if I need to update the appointment, I would send another meeting with the same UniqueId i.e., “123”

 

But when I try to get that appointment from the Outlook / Outlook Addin, this UniqueId is not available anywhere.

 

Also the provided GlobalAppointmentId is not same as this UniqueId Id.

 

Please let us know how we can map these two Ids?

 

Note: Our requirement is to Sync the Outlook Meetings with an external application through the meeting requests are sent (using Aspose.Email)

Read MSG file metadata

$
0
0

Hi,

Can we read the name of the first user who sent the message if it is a threaded mail , uisng Aspose.mail for .net .or do I have to split it form the messgae body.

Thanks,

Sanoj

 

Viewing all 1367 articles
Browse latest View live