problems with email
problems with email
Hi,
I want to open the pre-defined mail program, create a new message and attach a file.
I tried DEFINE MAIL but I does not work fine. In some cases, you have to call it twice, and in some computers it does not work at all!!.
Any ideas?. Thank you, Best regards,
I want to open the pre-defined mail program, create a new message and attach a file.
I tried DEFINE MAIL but I does not work fine. In some cases, you have to call it twice, and in some computers it does not work at all!!.
Any ideas?. Thank you, Best regards,
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
There is an alternative. You can use SMTP instead. This will send mail directly to a SMTP server. There are some negatives. Users will not get to edit the mail before it goes out and they will not get a copy saved in their Sent folder in their mail client software.
See FWH\samples\testsmtp.prg
Regards,
James
See FWH\samples\testsmtp.prg
Regards,
James
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
DEFINE MAIL does work with Outlook Express.
However, recently I installed the new Outlook Express replacement, Windows Live Mail (desktop) and it reconfigured Windows to make itself the default MAPI client. Then I went back to using Outlook Express and set it to the default MAPI client, but all mail sent to it using another program (such as FW's DEFINE MAIL), still gets sent to Windows Live Mail. I have not been able to find a solution for this. So, DEFINE MAIL still works in this case but it is being sent to the wrong MAPI client--but this is a Windows configuration issue, not a FW issue.
What is the problem you are having with Outlook Express? Are you getting error messages? Perhaps it is a Windows configuration problem. What version of Windows? I am using XP Pro SP2.
Regards,
James
However, recently I installed the new Outlook Express replacement, Windows Live Mail (desktop) and it reconfigured Windows to make itself the default MAPI client. Then I went back to using Outlook Express and set it to the default MAPI client, but all mail sent to it using another program (such as FW's DEFINE MAIL), still gets sent to Windows Live Mail. I have not been able to find a solution for this. So, DEFINE MAIL still works in this case but it is being sent to the wrong MAPI client--but this is a Windows configuration issue, not a FW issue.
What is the problem you are having with Outlook Express? Are you getting error messages? Perhaps it is a Windows configuration problem. What version of Windows? I am using XP Pro SP2.
Regards,
James
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Here is a link on how to fix various MAPI configuration problems.
http://www.ctimls.com/Support/KB/Error% ... _error.htm
Regards,
James
http://www.ctimls.com/Support/KB/Error% ... _error.htm
Regards,
James
Hi James,
Thank you for your help!!.
I use Windows XP SP2, Fivewin 7.12 y Harbour 1.1.
This code:
DEFINE MAIL oMail;
SUBJECT "Envío documento";
TEXT "Cordiales saludos" ;
FILES ( cEmailFile ), cFileName( cEmailFile ) ;
FROM USER
ACTIVATE MAIL oMail
In some computers only works when you call it twice. In others, It does not work at all!!!.
What I want is very simple: with the provided file, open a new email meesage. Fivewin should support this!!.
Best regards,
Thank you for your help!!.
I use Windows XP SP2, Fivewin 7.12 y Harbour 1.1.
This code:
DEFINE MAIL oMail;
SUBJECT "Envío documento";
TEXT "Cordiales saludos" ;
FILES ( cEmailFile ), cFileName( cEmailFile ) ;
FROM USER
ACTIVATE MAIL oMail
In some computers only works when you call it twice. In others, It does not work at all!!!.
What I want is very simple: with the provided file, open a new email meesage. Fivewin should support this!!.
Best regards,
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Dear Linares,Antonio Linares wrote:Moises,
> What I want is very simple
What you want is not as simple as it seems It should be simple if you have the right settings in your computer.
What email software do you use ? Do have Outlook and Outlook Express both installed in your computer ?
Taking your topic, let me ask something:
I have a similar routine that works perfectly when the default program is Outlook Express, but when it's defined for Mozilla Thunderbird ... the routine only opens the program, but not the screen for sending e-mail like in Outlook.
Is there any extra configuration to do?
Peace and lighting!
Júlio César M. Ferreira
FWH 8.10 / xHB 1.1.0 / xDevStudio 0.72 / Pelles C 5.0.1 / SQLLIB 1.9
Júlio César M. Ferreira
FWH 8.10 / xHB 1.1.0 / xDevStudio 0.72 / Pelles C 5.0.1 / SQLLIB 1.9
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Moises,
>In some computers only works when you call it twice. In others, It does not work at all!!!.
>What I want is very simple: with the provided file, open a new email meesage. Fivewin should support this!!.
I don't think this has anything to do with FW. FW does support MAPI and I have been using it for many years without problem.
You are having a MAPI configuration problem. Did you look at the link I provided above?
James
>In some computers only works when you call it twice. In others, It does not work at all!!!.
>What I want is very simple: with the provided file, open a new email meesage. Fivewin should support this!!.
I don't think this has anything to do with FW. FW does support MAPI and I have been using it for many years without problem.
You are having a MAPI configuration problem. Did you look at the link I provided above?
James
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: