You are correct that the values that show for Sender come from the user definitions on the RightFax Server - you can however change the "From Name" to be different from that defined for the user on the server, but you canot change the email address being used to send it.
As far as specifying a reply-to email address, there is not a property on the fax object to do this. At best, if you are attaching a cover sheet, you could include a note in the cover sheet directing the recipient where to reply. Another alternative would be to modify the subject line in the outgoing email to state where replies should be sent. The following sample code does both:
Dim obj_Fax As RFCOMAPILib.Fax
Dim
aRFUser As RFCOMAPILib.User
Dim FaxAPI As RFCOMAPILib.FaxServer
'create the fax object
obj_Fax = FaxAPI.CreateObject(CreateObjectType.coFax)
'now set the sender information
obj_Fax.Owner = aRFUser
obj_Fax.FromName =
"RF Test User"
obj_Fax.EmailSubject =
"Please reply to email@domain.com"
obj_Fax.ToEmailAddress =
erin@captaris.com
'now set the coversheet up
obj_Fax.FCSFilename = FaxAPI.CoverSheets(1).LongFileName
obj_Fax.HasCoversheet = BoolType.True
obj_Fax.CoverSheetNotes(1) =
"Please reply to name@domain.com"
'now set it up to send as an email
obj_Fax.EnableSendViaSecureDocs(BoolType.False, BoolType.False,
"")
'and send it
obj_Fax.Send()
Erin Stone
Captaris Developer Support Engineer