|
| sending mail with outlook |
| Iniciado por guest, 28,ago. 2015 14:34 - 5 respuestas |
| |
| | | |
|
| |
| Publicado el 28,agosto 2015 - 14:34 |
Hi,
I want to sent an email with outlook. I can not find this , what is supposed to be a simple task??
1 I want to add ad attachement , email adres , message etc to outlook . So I can do the mailing of stuff with outlook. Is this at all possible with windev 18?
I do not want the user to enter smtp server etc , witch would be nessisary if I wanted to sent the mails myself. That is Why I want to use outlook for this.
I hope this is a good discription of the problem
Thanks
Allard |
| |
| |
| | | |
|
| | |
| |
| Publicado el 28,agosto 2015 - 16:30 |
Allard
You can add attachments quite easily if you use the Email structure
Check out the WD Mailshot examples. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 28,agosto 2015 - 16:49 |
Hi Allard,
just type outlook in the help and you'll get outlookstartsession and all other related functions
Best regards |
| |
| |
| | | |
|
| | |
| |
| Publicado el 28,agosto 2015 - 17:37 |
Hi Allard,
This code will open an outlook email window.
myItem is object OLE dynamic myOlApp is object OLE dynamic myOlApp= new object OLE "Outlook.Application"
myItem = myOlApp>>CreateItem(0) myItem>>Recipients>>Add("yourname@website.com") myItem>>Subject = "New Subject" myItem>>Body = "anything" myItem>>Attachments>>Add("C:\ emp\attach.txt") // note: attachment must exist or code will fail myItem>>Display()
Steve |
| |
| |
| | | |
|
| | |
| |
| Publicado el 28,agosto 2015 - 18:45 |
Hi Thanks,
I after consideration I deceded to make my own email system. In the future I plan on making the windev app online through a html 5 wrapper solution and then I will need the email .
Thanks for the reply though
Regards Allard |
| |
| |
| | | |
|
| | |
| |
| Publicado el 28,agosto 2015 - 20:03 |
Hi Allard,
That's what I did as well. I'm hosting my Windev app at a commercial host and pushing to clients via Windows RemoteApp and using Outlook would require multiple MS office licenses per user as they already may run on users machine or internal network.
One other note is that my users found the Windev HTML editor lacking for their requirements and I integrated the XStandard HTML Editor to use when writing emails. Works great. I'm also using XStandard for web CMS editing.
Steve |
| |
| |
| | | |
|
| | | | |
| | |
|