Login  
Search All Forums
Dart Home | PowerTCP Mail for ActiveX | Custom Development Reply | PowerTCP Mail for ActiveX Topics | Forums   
AuthorForum: PowerTCP Mail for ActiveX
Topic: Blanked out subject line
ychor

From: Dunedin, FL USA
Posts: 6
Member Since: 04/30/04
posted October 7, 2005 3:20 PM

We have developed a mail utility using the DART MAIL component which works just fine. When we delivered to it to our clients one of them pumped 50 addresses in the TO field and now is complaining that the subject line is blank and all the names show up in the body along with the header info. It worked fine for them when they tested with only 2 addresses. Has anyone come across this issue?
Thanks in advance.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted October 7, 2005 3:43 PM

I am not able to duplicate this using the current mail dll and this code:

Private Sub Command1_Click()
  Dim n As Long
  Dim msg As New Message
  
  For n = 1 To 5000
    msg.To.Add "test@dart.com"
  Next n
  msg.Subject = "Subject"
  msg.Store "msg.eml"
  
  Set msg = New Message
  msg.Load "msg.eml"
    
  MsgBox msg.To.Count
  MsgBox msg.Subject
End Sub

That code adds 5000 addresses and the subject still looks OK.

Please tell me the exact steps I need to take.
dimapb

From: Owings Mills, MD USA
Posts: 12
Member Since: 08/25/00
posted January 15, 2008 3:15 PM

Tony,
I'm having a similar issues as well. If the TO: field is greater then 1000 characters, Subject Line is blank on all of the emails. Emails still go thru and the subject is there in teh email header, but for some reason is blank in the Subject Line Field. I'm using Mail Tool and the DartMail.dll file is version 2.9.0.
Thank you
Dmitry
dimapb

From: Owings Mills, MD USA
Posts: 12
Member Since: 08/25/00
posted January 16, 2008 3:08 PM

In case you need to look at my code...
It's PowerBuilder.

// Clear Message content
ole_Smtp.object.Message.Content = ""

// Add Header Parameters
n_cst_string lnv_String
int li_nums, i
String ls_tos[], ls_cc[]

li_nums = lnv_string.of_parsetoarray(as_to, ',', ls_tos[])

for i = 1 to li_nums
ole_Smtp.object.Message.To.Add(ls_tos[i])
Next
ole_Smtp.object.Message.From = as_from

ole_Smtp.object.Message.Subject = as_subject

// Add Message Body
ole_Smtp.object.Message.AddText(as_message + "~r~n")

// Remove any Capabilities we don't want
ole_Smtp.object.Capabilities.Clear()
//Default status notifications
ole_Smtp.object.DSN(0) //0 means NEVER notify of a status

// Clear error message (This would be set in the Progress event)
is_BadStatusMessage = ""
  
//Send Message which was built by of_send_message
ole_Smtp.object.Send()

// Disconnect
ole_Smtp.object.Logout()
Arjun

From: Rome, NY, USA
Posts: 137
Member Since: 09/17/07
posted January 16, 2008 3:56 PM

Hello Dmitry,

With regards to the query please note that I could not replicate the issue. The following is the code that I have used in a VB 6.0 application:

Smtp1.Login "server"
Dim i As Integer
For i = 0 To 99
Smtp1.Message.To.Add "check@abc.com"
Next
Smtp1.From = "test@abc.com"
Smtp1.Message.Subject = "Test"
Smtp1.Message.Text = "Test"
Smtp1.Send
Smtp1.Logout

Please let me know if I need to follow any other steps to check for the issue.

Have a great day.

Regards,
Arjun

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

dimapb

From: Owings Mills, MD USA
Posts: 12
Member Since: 08/25/00
posted January 17, 2008 9:35 AM

Arjun,
Thank you for looking into it. I'm not sure what to do or ask you to do at this point. I'm able to reproduce this issue everytime i have more then 53 email addresses or TO: field exceeds 1000 characters. What version of the DartMail.dll did you use when you tested this scenario? I would have no problems upgrading if we could confirm that this issue exists in the version I'm using and no longer exists in the newer release.
Thank you
Dmitry
P.S. I can email you a screen print of an email with this issue if you'd like.
Arjun

From: Rome, NY, USA
Posts: 137
Member Since: 09/17/07
posted January 17, 2008 2:02 PM

Hello Dmitry,

I have tested the issue with both the latest (2.9.2.4) and the version mentioned by you (2.9.0.0).
I would suggest you to check with the latest version of the control. The trial version of the control can be downloaded from the link below:
http://www.dart.com/ptml.aspx

Have a great day.

Regards,
Arjun

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

Reply | PowerTCP Mail for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX