View Single Post
  #2  
Old March 16th 06, 12:13 AM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Custom Form can't be Delivered

Have you considered forwarding the item instead of trying to resend it?

Set fwd = Item.Forward
fwd.To = "John Smith (Supervisor)"
fwd.Send

--
¼á
"Boyd" wrote in message oups.com...
I have a custom form which I plan on sending to employees on a weekly
basis. They enter #'s in custom textfields, and send the form on to my
supervisor. Their method of sending the form is by clicking a command
button, which fires the following code:
Item.To = "John Smith (Supervisor)"
Item.Send

For some reason, the message is being returned to them as
undeliverable. I assume this is happening b/c the original email is
coming from my Inbox, and is therefore still "attached" to their form.
I've tried manipulating the From field, but am realizing that this
cannot be done within custom forms.
This issue has nothing to do with the status of my supervisor's Inbox.
I've had a few employees send him test emails (not using my custom
form), which went thru without a problem.

Any ideas how I can resolve this issue? Should I come up with a
different method for the employee to forward the email on to my
supervisor (for instance, instead of using code, try using the Forward
button)? I'm not really sure how to approach this, as I am new to
Outlook programming.

Any help is greatly appreciated.

Thanks,
Boyd

Ads