Sub SendMail(ByVal Subject,ByVal Mailto,ByVal Template)
On Error Resume Next Dim ObjSendMail Const cdoSendUsingPickup = 1 'Send message using the local SMTP service pickup directory. Const cdoSendUsingPort = 2 'Send the message using the network (SMTP over the network).