Attachments need to be encoded in Base64 which triples the size of the data
in the attachment.
If you have a 1MB log file, it will become a 3MB attachment because of the
encoding.
Confidentiality Notice: This e-mail contains confidential and/or privileged
information and is intended to be read only by the person or authorized
representative of the organization to whom it is addressed. If you are
neither of these persons, you have received this e-mail in error. Please do
not print, copy, re-transmit, disseminate or otherwise use the information,
all of which are prohibited. Please immediately notify the sender by return
e-mail or by telephone at (303)593-1246 that you have received this
communication in error and delete this e-mail from your system. Thank you.
John T. Lindsay
Micro Sciences Company
303 593-1246
303 593-1248 Fax
_____
From: development-axapta@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Jacob Hjelmer
Nielsen
Sent: Tuesday, March 07, 2006 12:41 PM
To: development-axapta@yahoogroups.com
Subject: SV: [development-axapta] SysMailer class
Hi Martin
what's the size of the attachments?
:-J
Jacob Hjelmer
thy:development
Søvej 13B
DK-3460 Birkerød
Phone.: +45 96 170 470
Fax: +45 45 824 544
Mobile: +45 24 474 032
e-mail: [EMAIL PROTECTED]
www.thydevelopment.com
www.x-masterclass.com
<file:///C:\Documents%20and%20Settings\jhn\Application%20Data\Microsoft\Sign
atures\www.x-masterclass.com> High-end education program for Axapta
developers.
________________________________
Fra: development-axapta@yahoogroups.com på vegne af Martin Sujkowski
Sendt: ti 07-03-2006 19:34
Til: development-axapta@yahoogroups.com
Emne: [development-axapta] SysMailer class
Hi everyone,
I copied the send email example code from SysMailer help file and
put it in a job. It goes like this:
SysMailer mailer = new SysMailer();
mailer.body("This is the body of the mail");
mailer.subject("Eureka! Axapta generated and email");
mailer.fromAddress("[EMAIL PROTECTED]");
mailer.fromName("Joe Smith");
mailer.tos().add("[EMAIL PROTECTED]");
//mailer.attachments().add("c:\\gylle.log");
mailer.sendMail();
print 'done';
pause;
The job executes fine but it is extremly slow. At least 15-20
seconds for an email with a single receipient (mailer.sendMail() is
where it chugs). Does anyone have a clue why that could be and if
so how to fix it?
Yahoo! Groups Links
[Non-text portions of this message have been removed]
SPONSORED LINKS
Computer
<http://groups.yahoo.com/gads?t=ms&k=Computer+part&w1=Computer+part&w2=Progr
amming+languages&w3=Microsoft+axapta&w4=Support+exchange&c=4&s=90&.sig=yLpvc
LTIDJ5FTkRJGsO11w> part
Programming
<http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Computer+part&
w2=Programming+languages&w3=Microsoft+axapta&w4=Support+exchange&c=4&s=90&.s
ig=cuhEClK4dU4wapXFmKisbQ> languages
Microsoft
<http://groups.yahoo.com/gads?t=ms&k=Microsoft+axapta&w1=Computer+part&w2=Pr
ogramming+languages&w3=Microsoft+axapta&w4=Support+exchange&c=4&s=90&.sig=yf
eG_U6QaLfPOZZIud02Fg> axapta
Support
<http://groups.yahoo.com/gads?t=ms&k=Support+exchange&w1=Computer+part&w2=Pr
ogramming+languages&w3=Microsoft+axapta&w4=Support+exchange&c=4&s=90&.sig=hy
8yRGMzrmxdphyITTUeqA> exchange
_____
YAHOO! GROUPS LINKS
* Visit your group "development-axapta
<http://groups.yahoo.com/group/development-axapta> " on the web.
* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
* Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/> Terms of Service.
_____
[Non-text portions of this message have been removed]
SPONSORED LINKS
Computer part | Programming languages | Microsoft axapta |
Support exchange |
YAHOO! GROUPS LINKS
- Visit your group "development-axapta" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.