How send a mail from aplication window?
How send a mail from aplication window?
I would like to place a form for sending an email to my address on the window of my freely distributed application. I do not want to burden the user with the need for some other activity. Is there an anonymous mail server suitable for that purpose? Or is there any other possibility? I welcome the code sample.
Windows 7 Professional / Service Pack 1 - 32bit, PureBasic 5.46 LTS (x86)
My mother tongue is Czech. I have a Czech version of Windows.
Who is not afraid of GOTO, the one need not afraid any things!
My mother tongue is Czech. I have a Czech version of Windows.
Who is not afraid of GOTO, the one need not afraid any things!
Re: How send a mail from aplication window?
If the user cannot configure the connection to his own SMTP server, the alternative solution is to use a mailto link:
This will open the default mail client and pre-fill in the information.
Like this:
This is how I do in About Box in my softwares
(using hyperlink)
This will open the default mail client and pre-fill in the information.
Like this:
Code: Select all
RunProgram("mailto:xxxxxx@yyyyyy.com?subject=Need Support Please&body=Hello World", "", "")
(using hyperlink)