Error in writing Data

Error in writing Data

Forum member · Nov 5, 2007
Hi, I am testing FireMail but keep getting this error when trying to send an e-mail: Error in writing Data, possibly no valid recipients. Source Error: Line 545: Line 546: Line 547: msg.Send("localhost") <- This is the error line Line 548: Line 549: Return "" Source (VS2005, WinXP, .net 2.0.5xxxx): Dim msg As ceTe.FireMail.PlainTextMessage = New ceTe.FireMail.PlainTextMessage("Michael Nielsen", "michael@nielsen.com") msg.To.Add("michael@nielsen.com", "michael@nielsen.com") msg.Subject = "test" msg.Body = "test body" msg.Send("localhost")

Re: Error in writing Data

Support · Nov 6, 2007
Hello, You will have to use the SMTP server name as the parameter in the Send method of the PlainTextMessage object instead of the "localhost" and this will solve your problem. Thanks, ceTe Software Support Team.

Re: Error in sending the mail

Forum member · May 25, 2011
here's the error I got: Specified argument was out of the range of valid values. Parameter name: size at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) at zz95a.b(Byte[] A_0) at zz95a.b() at ceTe.FireMail.Message.Send(Connection connection)

Re: Error in sending emails

Forum member · May 25, 2011
Hi all: I got the following error while sending the emails through the firemail: Specified argument was out of the range of valid values. Parameter name: size at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size) at zz95a.b(Byte[] A_0) at zz95a.b() at ceTe.FireMail.Message.Send(Connection connection) Thanks

Re: Error in writing Data

Support · May 25, 2011
Hello, Please give us more info regarding this error. Please send an email to [^a|mailto:support@cete.com|opennewiwndow|support@cete.com^] with the following information so we can look into this further. 1. Code you are using to send the email. 2. Are you sending any attachments? If so how many? 3. Are you using a valid SMTP server? 4. Are all the emails sent using this code failing with this error? Thanks, ceTe Software Support Team.