Page 2 of 5
Posted: Thu Jun 16, 2005 7:11 am
by Intrigued
I am
not having any luck with regards to sending an Email with an attachment.
It's the attachment that is not working properly for me.
Here is what I have (private data removed):
Code: Select all
SendEMailInit()
SendEmail("A Name","myemail@goeshere.com","myotheremail@goeshere.com","tried-this-blank-and-filled-in","tried-this-blank-and-filled-in","mail.myispsname.net","PureBasic Test","This is the body")
AddAttachment("C:\Documents and Settings\loggedinuser\Desktop\afilecollection.rar")
; and I tried below (plus I moved the AddAttachment() function above the SendEmail() function, to no avail. Ideas?
Procedure SendThatEmail()
SendEMailInit()
SendEmail("A Name","myemail@goeshere.com","myotheremail@goeshere.com","tried-this-blank-and-filled-in","tried-this-blank-and-filled-in","mail.myispsname.net","PureBasic Test","This is the body")
AddAttachment("C:\Documents and Settings\loggedinuser\Desktop\afilecollection.rar")
EndProcedure
Posted: Thu Jun 16, 2005 8:02 am
by Droopy
You must add attachment before sending mail

Posted: Thu Jun 16, 2005 3:44 pm
by Intrigued
Droopy wrote:You must add attachment before sending mail

That's what I originally tried, actually, I just copied your help file information and changed such out with my data. I'll try again and see what I can come up with. *scratches head*
Thanks for your quick follow-up!
[late edit]
Ack! Solution found. Late last night (er... early morning) my eyes must have been giving me the run around... because I had the "sender" and "receiver" Emails transposed.
It works like a champ now!
Thanks for your help and patience Droopy! (and this excellent lib with a nice install routine, you set a good example on how to share!)
*thumbs up*
Posted: Thu Jun 16, 2005 11:23 pm
by Dare2
Intrigued wrote:Late last night (er... early morning) my eyes must have been giving me the run around... because I had the "sender" and "receiver" Emails transposed.
YOU MADE MY DAY!
I am so glad that I am not the only person to do that sort of thing!

Posted: Mon Jun 27, 2005 12:00 am
by GeoTrail
When I run GlobalMemoryStatusTotalPhys() it return 1535
Description :
Indicates the total number of bytes of physical Memory.
Obviously I don't have 1535 bytes of memory, I have 1536 MB or 1.5 GB. Is this a bug in the lib?
Posted: Mon Jun 27, 2005 1:24 am
by Intrigued
GeoTrail wrote:When I run GlobalMemoryStatusTotalPhys() it return 1535
Description :
Indicates the total number of bytes of physical Memory.
Obviously I don't have 1535 bytes of memory, I have 1536 MB or 1.5 GB. Is this a bug in the lib?
It seems to be. My system returned 1023 (bytes). This system has 1GB of memory.
Posted: Mon Jun 27, 2005 7:49 am
by Droopy
I need to correct help for Memory Functions
It return a size in Mb
Thanks I'll correct it

Posted: Mon Jun 27, 2005 8:25 am
by GeoTrail
hehehe that's ok

great lib

Posted: Mon Jun 27, 2005 5:02 pm
by Intrigued
Whoa! That's a fast response. (being it's nothing that is wrong with the code and it is just a documentation error)
*thumbs up*
Posted: Tue Jun 28, 2005 9:58 pm
by TerryHough
Code: Select all
MessageRequester("Droopy",FormatDate("%mm/%dd/%yyyy %hh:%ii:%ss",FileGetTime("c:\purebasic.chm",1)))
FileGetTime(file$,1) seems to be returning only the last accessed date
without the time. Is that intentional?
Posted: Tue Jun 28, 2005 10:28 pm
by Droopy
You use the option 1 :
0 = Time the File was created
1 = Time the file was last accessed
2 = Time the file was last written
With XP, on my computer it return the date and the time
If you're on Windows XP, right click in the explorer tabs
and select : show creation date / access date : You can show the 3 date the file can have
Posted: Wed Jun 29, 2005 2:48 pm
by TerryHough
I was on Windows 98SE. But, I think it also returns this date without fail.
I have some other code for it somewhere. I will search and test and get
back to you.
Thanks,
Terry
Posted: Tue Jul 05, 2005 5:22 am
by sam99
hi droopy, for unknown reasons I'm unable to download the Droopy Library, but I downloaded the help file successfully !!
Please send it to me through my e-mail
Thanks
Posted: Tue Jul 05, 2005 8:01 am
by Droopy
You can also download @ purearea ( User Lib )
http://www.purearea.net
Posted: Tue Jul 05, 2005 8:35 am
by sam99
Thanks Droopy, but its the same I'm unable to download it from the purearea !! I'm really dont know what is the problem ... I'll be glad sending it to me through my email ...