I am having trouble when trying to export a chart as an email.
The error message is Sending of message failed.
There was an error attaching TeeChart.emf. Please check if you have access to the file.
An email message is generated, the problem occurs was you attempt to send the message. I am using Win XPPro SP2.
Maybe I am missing a permission: If so what could it be ?
Thanks
Help with Exporting Chart As An eMail
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi madup,
It works fine for me here using TeeChart Pro v7.07 VCL. Which TeeChart version are you using? Do you have an e-mail account, which can send the message, set up on that machine?
It works fine for me here using TeeChart Pro v7.07 VCL. Which TeeChart version are you using? Do you have an e-mail account, which can send the message, set up on that machine?
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
I am using Pro v7.08, and have an account that sends email.
When I click send it generates the email, searching further, I cannot find the attachment. If I place a file with the correct nane in the location stated in the attachement, it works.
I am using Netscape as the email client. Another thing, when I click Save it defaults to My Documents of the current user. The email thinks the attachment is in :
C:\Documents and Settings\madup\local settings\temp.
If I place a file in the location after the email is generated after sending it will
delete the file.
If I place a file before clicking send, it will delete the file before ??, the email is generated and not replace it
Thanks
Mike
When I click send it generates the email, searching further, I cannot find the attachment. If I place a file with the correct nane in the location stated in the attachement, it works.
I am using Netscape as the email client. Another thing, when I click Save it defaults to My Documents of the current user. The email thinks the attachment is in :
C:\Documents and Settings\madup\local settings\temp.
If I place a file in the location after the email is generated after sending it will
delete the file.
If I place a file before clicking send, it will delete the file before ??, the email is generated and not replace it
Thanks
Mike
Hi Mike,
maybe the problem is the email client (in your case NetScape). This feature has been tested only in systems with standard Mail API installed like MS Outlook, Outlook Express,..
Could you please check if the same problem happens in your machine using Outlook or Outlook Express ?
maybe the problem is the email client (in your case NetScape). This feature has been tested only in systems with standard Mail API installed like MS Outlook, Outlook Express,..
Could you please check if the same problem happens in your machine using Outlook or Outlook Express ?
Pep Jorge
http://support.steema.com
http://support.steema.com
Hi Pep
I don't use Outlook, however I tried the same code on a Notebook with
Win ME and an older version of Netscape, and I was able to send the chart as an email, so Netscape has the ability to execute the code successfully.
Again if I attempt to send a chart , even via the demo app, if I
Click Send
wait for the message to populate
copy a file with the proper name to the temp location
place an address in the email
Click Send
The message will process, then delete the file I placed in the temp location.
It just never seems to place a file in the temp folder.
Which unit in the soucre actully builds the message and calls the API Logic ?
Since Win ME works, it just seems to be a problem with Win XP Pro and Netscape 7.2
I'll try to further review the source, to understand where this fails. So any pointers to the correct unit would be great
Regards
Mike
I don't use Outlook, however I tried the same code on a Notebook with
Win ME and an older version of Netscape, and I was able to send the chart as an email, so Netscape has the ability to execute the code successfully.
Again if I attempt to send a chart , even via the demo app, if I
Click Send
wait for the message to populate
copy a file with the proper name to the temp location
place an address in the email
Click Send
The message will process, then delete the file I placed in the temp location.
It just never seems to place a file in the temp folder.
Which unit in the soucre actully builds the message and calls the API Logic ?
Since Win ME works, it just seems to be a problem with Win XP Pro and Netscape 7.2
I'll try to further review the source, to understand where this fails. So any pointers to the correct unit would be great
Regards
Mike
Hi, Mike.
You might try checking the TeeExport.pas unit, especially the InternalTeeEmailFile routine which actually calls the MapiSendMail routine.
You might try checking the TeeExport.pas unit, especially the InternalTeeEmailFile routine which actually calls the MapiSendMail routine.
Marjan Slatinek,
http://www.steema.com
http://www.steema.com