Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET SMTP

 AfterLogic Forum : MailBee.NET SMTP
Subject Topic: Mailer.AddAttachment Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
2xs
Newbie
Newbie


Joined: 23 November 2008
Online Status: Offline
Posts: 2
Posted: 23 November 2008 at 2:44pm | IP Logged Quote 2xs

Hi

Do you have any ideas why I might be getting Object reference not set to an instance of an object. error from the following code?

Seems identical to whats in your help.

using MailBee;
using MailBee.SmtpMail;

    protected void Page_Load(object sender, EventArgs e)
    {
        Smtp.LicenseKey = ConfigurationManager.AppSettings["SMTPLicenseKey"];

        Smtp m = new Smtp();

        m.AddAttachment(@"C:\Survey.doc");
    }

Thanks in advance
Back to Top View 2xs's Profile Search for other posts by 2xs
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 24 November 2008 at 1:29am | IP Logged Quote Igor

Please upgrade MailBee.NET.dll to the latest version and try to reproduce the issue.

If the issue still happens, please provide us with full stack trace.

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


Joined: 23 November 2008
Online Status: Offline
Posts: 2
Posted: 24 November 2008 at 1:05pm | IP Logged Quote 2xs

Hi Igor

Yep the new dll fixed it.

Thanks
Back to Top View 2xs's Profile Search for other posts by 2xs
 
caussin
Newbie
Newbie


Joined: 06 January 2009
Location: France
Online Status: Offline
Posts: 6
Posted: 20 January 2009 at 7:13am | IP Logged Quote caussin

Hello, i have experienced the same problem in January, when the official dll version was 4.0.2.105, two months after the first post.
Your answer, which contains a link to the new dll actually fixes the problem... But i am still worried ...
- this issue (AddAttachment) is very basic, and uses a sample from the officiel tutorial. How can it be possible that it does not work ?
- The initial post in the forum (from 2xs) is dated Nov 2008. Two months later, i still have the same problem, and the official release is still the same.
- The patch that corrects the problems (version 4.0.2.118) is much heavier than the 4.0.2.115 dll... I am worried to put this 4.0.2.118 in production. Has it been tested enough ? If so, why doesn't it replace the 4.0.2.115 ?
- in your FAQ, you write that The latest production version of MailBee.NET Objects is available at:
http://www.afterlogic.com/download/MailBeeNetObjects.msi which points to 4.0.2.115. When do you plan to officially ship the 4.0.2.118 ? What is your release policy ?

Thanks for your answer.
O.Caussin
Back to Top View caussin's Profile Search for other posts by caussin
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 20 January 2009 at 8:36am | IP Logged Quote Alex

Quote:
this issue (AddAttachment) is very basic, and uses a sample from the officiel tutorial. How can it be possible that it does not work?


Only a few customers experienced a problem with it so this isssue was not very critical.

Quote:
- The patch that corrects the problems (version 4.0.2.118) is much heavier than the 4.0.2.115 dll... I am worried to put this 4.0.2.118 in production. Has it been tested enough ? If so, why doesn't it replace the 4.0.2.115 ?


We have now replaced the .msi version with 4.0.2.114 (the previous was 4.0.2.105). Not all versions of DLL come into .MSI because it's a lot of work to create the installer package and it would make the updates be issued much rarely if all updates went .MSI stage.

Also, we plan to officially release the next major version (5.0) in a few days.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 

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