Hello - I have got the code below to work - but i would like to add an attachement (the attachement path is storred in a textbox called txtattachement on the form)
How would I add this??? Thank you Mark
Private Sub Command0_DblClick(Cancel As Integer)
Dim iMsg As Object
Dim iConf As Object
Dim Flds As Variant
Set iMsg = CreateObject("CDO.Message")
Set iConf = CreateObject("CDO.Configuration")
iConf.Load -1 ' CDO Source Defaults
Set Flds = iConf.Fields
With Flds
.Item("
OK so i have added that in below - thank you. It works fine with a text file, but with a jpg i get the error message - 'the transport lost its connection with the server'.
This was the problem i was coming across with the original form. Any ideas??
Private Sub Command0_DblClick(Cancel As Integer)
Dim iMsg As Object
Dim iConf As Object
Dim Flds As Variant
Set iMsg = CreateObject("CDO.Message")
Set iConf = CreateObject("CDO.Configuration")
iConf.Load -1 ' CDO Source Defaults
Set Flds = iConf.Fields
With Flds
.Item("
Attachments often cause a error message (even when they are hard coded in - i.e c:\image1.jpg)
Also attachements appear as only only a grey icon on the iphone (receining thorugh a hotmail account) - when clicked the screen then just leads to a grey screen.
So really it seems to be attachments (esp photos) that are causing the problem.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.