Re: Difference between wodSmtp1.SendMessage and w - WeOnlyDo Discussion board

Re: Difference between wodSmtp1.SendMessage and w (General questions)

by nightwalker83, Friday, August 06, 2010, 09:40 (5222 days ago) @ wodDamir

Hi,

The code you provided doesn't call any method at all. Please try something like:

[code]For a = 0 To frmAttachments.LstFiles.ListCount - 1
attach = wodSmtp1.Message.Attach(frmAttachments.LstFiles.List(a))
Next a
[/code]

Thanks, that should solve the attachment problem. However, I still can't use .SendMessage.
' This line is is suppose to set the sender of the message as the login address
.Message.From = frmSettings.txtUsername.Text

However, I still receive the no sender I have tried everything that has already been suggested in this thread.


Complete thread: