-
Send Email w/o Outlook
I need my application to be able to send emails automatically and without any input of a user w/o using Outlook. The messages need to be text formatted, not HTML. I would like to use SMTP, but don't know how. I am on a Win2k system. Any help is appreciated. Thanks.
-
Have a look at the MAPI controls, I've used them in the past to generate and send emails with no user input
hope this helps
:) john:)
-
Info.
Please search the forums for 'SMTP', 'EMAIL' etc. This question has been asked hundreds of times before... Hope this helps.
Laterz
-
I can do it using MAPI, but I am having a problem with setting the profile. That is I don't know how. Right now, in my testing I am using a command button to send the mail, but in my application, it will be a program that is not used by a user, it will just run in the background. But the probelm is that it says invalid profile everytime and then lets me select one and then it works. How do I get around this? Also, I have not been able to figure out how to send mail out of my email system, which will be necessary.
-
Ok, I finally figured out how to send mail out of my system, but how can I choose the profile for exchange at design time to avoid the error and forcing me to choose a profile? Also, how can I specify who the email comes from, it seems like it just uses the current user that is sign in.