| Dart Home | PowerTCP Mail for ActiveX | Custom Development | Reply | PowerTCP Mail for ActiveX Topics | Forums |
| Author | Forum: PowerTCP Mail for ActiveX Topic: No Message Text |
| mrwise From: New Ulm, MN USA Posts: 7 Member Since: 06/07/04 |
posted October 16, 2007 9:49 AM Here is my syntax: smtp1.MESSAGE.Text = Me!txtMessage Nothing shows up in the body when the email arrives. What am I missing or what might cause this? Thanks. |
| Arjun From: Rome, NY, USA Posts: 137 Member Since: 09/17/07 |
posted October 17, 2007 9:46 AM Hello Mike, With regards to the query I would like to inform you that I could not replicate the issue at my side. Therefore I would request you to please provide me with more information so as to replicate the issue. I have used the following code which worked well: With Me.Smtp1 .Login "server", , username, password" .Message.To.Add "abc@test.com" .From = "abc@test.com" .Message.Subject = "Test" .Message.Text = Me.Text1.Text .Send MsgBox "done" .Logout End With Have a great day. Regards, Arjun |
| mrwise From: New Ulm, MN USA Posts: 7 Member Since: 06/07/04 |
posted October 17, 2007 10:49 AM This statement: ".Message.Text = Me.Text1.Text" Produces an error about not having the focus. I am still not getting any text in the body of my messages. I even tried this and I still get nothing! "smtp1.MESSAGE.Text = "This is a test" Any other ideas? Thanks. |
| Arjun From: Rome, NY, USA Posts: 137 Member Since: 09/17/07 |
posted October 17, 2007 12:36 PM Hello Mike, I have sent you an email. Please check your email. Regards, Arjun |
| Arjun From: Rome, NY, USA Posts: 137 Member Since: 09/17/07 |
posted January 29, 2008 6:26 AM Hello, Looking at the code, the cause of the issue was that the message being created was a multi part message and the data field of the part object was blank. Setting the Message.text would still give a blank body text as the Data property of the Part object overwrites the text property of the message. Have a great day. Regards, Arjun |
| Reply | PowerTCP Mail for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|