We are setting up a helpdesk email address. When the user replies to the email, it should use the "support" email address by default instead of the user's email address.
It would work like a forgotten attachment script. When the user sends the message a message would popup and ask "you are sending this email using your own email address, is this ok?"
As a second step, it would be nice to have a drop down of email address he can choose to send from.
Thanks
I'm not a programmer but I tried to edit a script as follows:
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Dim intRes As Integer
Dim strMsg As String
Dim strThismsg As String
Dim intOldmsgstart As Integer
If objMessage.from = "" Then
strMsg = "From Field Checker:" & Chr(13) & Chr(10) & "The From field is blank" & Chr(13) & Chr(10) & "Send the message anyway?"
intRes = MsgBox(strMsg, vbYesNo + vbDefaultButton2 + vbExclamation, "You forgot the From Field!")
If intRes = vbNo Then
' cancel send
Cancel = True
End If
End If
End Sub
It would work like a forgotten attachment script. When the user sends the message a message would popup and ask "you are sending this email using your own email address, is this ok?"
As a second step, it would be nice to have a drop down of email address he can choose to send from.
Thanks
I'm not a programmer but I tried to edit a script as follows:
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Dim intRes As Integer
Dim strMsg As String
Dim strThismsg As String
Dim intOldmsgstart As Integer
If objMessage.from = "" Then
strMsg = "From Field Checker:" & Chr(13) & Chr(10) & "The From field is blank" & Chr(13) & Chr(10) & "Send the message anyway?"
intRes = MsgBox(strMsg, vbYesNo + vbDefaultButton2 + vbExclamation, "You forgot the From Field!")
If intRes = vbNo Then
' cancel send
Cancel = True
End If
End If
End Sub