Click here to Skip to main content
15,907,875 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Class not visible Pin
David Crow7-Oct-05 5:17
David Crow7-Oct-05 5:17 
AnswerRe: Class not visible Pin
David Crow7-Oct-05 3:43
David Crow7-Oct-05 3:43 
GeneralRe: Class not visible Pin
Anonymous7-Oct-05 4:41
Anonymous7-Oct-05 4:41 
GeneralRe: Class not visible Pin
Anonymous7-Oct-05 4:43
Anonymous7-Oct-05 4:43 
GeneralRe: Class not visible Pin
Jose Lamas Rios7-Oct-05 5:00
Jose Lamas Rios7-Oct-05 5:00 
GeneralRe: Class not visible Pin
Anonymous7-Oct-05 5:11
Anonymous7-Oct-05 5:11 
GeneralRe: Class not visible Pin
Jose Lamas Rios7-Oct-05 5:23
Jose Lamas Rios7-Oct-05 5:23 
QuestionSend mail from apps: different ways... Pin
SonOfGrey6-Oct-05 23:22
SonOfGrey6-Oct-05 23:22 
Hi all,

I'm working on an application that preferably has to send a mail to the user once in a while while it's running. Problem is that it really also has to be able do this when the pc is connected to the internet through another account (other ISP).

The question is: how can I do this as flexible as possible?

  • Sending the info with HTTP GET or POST works fine, uses port 80 which is usually open already, but needs some kind of PHP script installed on a webserver to accept the info and mail it. This is the disadvantage (not so user friendly).
  • Using local computer settings (SMTP server) to mail from within the app works too, but won't necessarily work anymore when the pc is connected through another internet account. For example, my ISP only allows to use their SMTP server. So I can not use the one from my hosting company. If I connect my pc somewhere else, with an internet account not from my ISP, then my settings won't work.
  • Could I use a built-in SMTP sever in my app? Are there ways to make sure the mail can be sent, no matter which ISP account is used (see problem above)? Won't a built-in SMTP server be blocked frequently by firewall settings? Can you mail through more standard ports (80?) instead?
  • Or should I just let the user configure more SMTP servers and let the app traverse the list until it finds one that works?

I hope you see what I want to do and what my problem is.

Any suggestions are greatly appreciated!
SonOfGrey

-- modified at 5:22 Friday 7th October, 2005
QuestionKey Entry Pin
Mike Winter6-Oct-05 22:43
Mike Winter6-Oct-05 22:43 
AnswerRe: Key Entry Pin
khan++6-Oct-05 23:54
khan++6-Oct-05 23:54 
GeneralRe: Key Entry Pin
Mike Winter7-Oct-05 0:44
Mike Winter7-Oct-05 0:44 
QuestionOPC Pin
Marc Soleda6-Oct-05 22:32
Marc Soleda6-Oct-05 22:32 
AnswerRe: OPC Pin
Blake V. Miller8-Oct-05 15:12
Blake V. Miller8-Oct-05 15:12 
GeneralRe: OPC Pin
Marc Soleda9-Oct-05 20:27
Marc Soleda9-Oct-05 20:27 
QuestionODBC with VC++ Pin
sirtimid6-Oct-05 22:10
sirtimid6-Oct-05 22:10 
AnswerRe: ODBC with VC++ Pin
KaЯl7-Oct-05 2:08
KaЯl7-Oct-05 2:08 
GeneralRe: ODBC with VC++ Pin
sirtimid7-Oct-05 2:59
sirtimid7-Oct-05 2:59 
GeneralRe: ODBC with VC++ Pin
KaЯl7-Oct-05 4:07
KaЯl7-Oct-05 4:07 
GeneralRe: ODBC with VC++ Pin
sirtimid7-Oct-05 4:22
sirtimid7-Oct-05 4:22 
QuestionHelp needed - to retrieve the security permissions over a Folder/file Pin
6-Oct-05 22:03
suss6-Oct-05 22:03 
Questionmfc edit box Pin
swaapu6-Oct-05 21:58
swaapu6-Oct-05 21:58 
AnswerRe: mfc edit box Pin
P-Rex6-Oct-05 22:43
P-Rex6-Oct-05 22:43 
AnswerRe: mfc edit box Pin
toxcct6-Oct-05 22:42
toxcct6-Oct-05 22:42 
AnswerRe: mfc edit box Pin
ThatsAlok7-Oct-05 0:32
ThatsAlok7-Oct-05 0:32 
QuestionSWF in VC++ Pin
Nishad S6-Oct-05 21:44
Nishad S6-Oct-05 21:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.