Solved Cgmail.apl

forum.sourcecode (2000-2005) & forum.td.sourcecode (2005-2010)
Marc

Cgmail.apl

Post by Marc » 30 Apr 2007, 08:27

 Posted by:  Marc 

Apl: cgmail.apl
Class: cQOEmail
Funcion: EmailSendMessage
Parameter: sAttachments

Folders with blanks are not accepted

Tanks

Marc

Krzysztof Dorko

Re: Cgmail.apl

Post by Krzysztof Dorko » 02 May 2007, 05:28

 Posted by:  Krzysztof Dorko 

Hi
I am not sure if it really help
but I will comment
Set sAttachments = GCM_VisStrSubstitute(sAttachments,' ','') line from
EmailSendMerssage function body (cgmail.apl) because this definitely
eliminate all spaces inattachment string.
Let us know if it help you.

Kris

Marc

Re: Cgmail.apl

Post by Marc » 03 May 2007, 07:43

 Posted by:  Marc 

It does not function.

I receive the message, Email Error(11) Attachment not found

Marc

Krzysztof Dorko

Re: Cgmail.apl

Post by Krzysztof Dorko » 03 May 2007, 15:12

 Posted by:  Krzysztof Dorko 

Hi
It is not a true at least in GTD 4.1
I just make simple test and my email + attachement located in c:\Documents
and settings\user\my documents\name with spaces.doc
and a few more was sended without any problems.
What version of Gupta do you have?
In my case only this VisStrSubstitute or what ever they call it in this apl
was a problem but after commented is working

Kris

You do not have the required permissions to view the files attached to this post.

Marc

Re: Cgmail.apl

Post by Marc » 03 May 2007, 15:44

 Posted by:  Marc 

Version 4.2

Marc

Marc

Re: Cgmail.apl

Post by Marc » 03 May 2007, 16:22

 Posted by:  Marc 

The difference to your program is, that I the file cgmail.apl include

Krzysztof Dorko

Re: Cgmail.apl

Post by Krzysztof Dorko » 03 May 2007, 17:38

 Posted by:  Krzysztof Dorko 

This is not realy difference
I just made my version of this library with my modification in
EmailSendMerssage and added sample form to ilustrate it.
What you should do is go to your gupta directory open cgmail.apl modify this
EmailSendMerssage function and everything should be ok
hth
Kris

Marc

Re: Cgmail.apl

Post by Marc » 04 May 2007, 08:05

 Posted by:  Marc 

Now it works fine.

Thank you

Return to “td.sourcecode”

Who is online

Users browsing this forum: [Ccbot] and 0 guests