Re: wodSmtpServer - sending mail to local multiple - WeOnlyDo Discussion board

Re: wodSmtpServer - sending mail to local multiple (General questions)

by woddrazen, Thursday, July 17, 2008, 12:02 (5974 days ago) @ nisha

Nisha,


Something like this?
[code]Private Sub wodSmtpServer1_MailStart(ByVal user As WODSMTPSERVERCOMLib.ISmtpUser)
Dim username As String
username = Mid(user.Message.MailTo, 2, (InStr(1, user.Message.MailTo, @ ) - 2))

user.Message.FileName = c:\ + username + .txt
user.Message.FileAppend = True
End Sub[/code]
Drazen


Complete thread: