Click here to Skip to main content
15,900,816 members
Home / Discussions / Database
   

Database

 
Question@@rowcount is now working with while and if statement Pin
Jagz W27-Aug-10 0:12
professionalJagz W27-Aug-10 0:12 
AnswerRe: @@rowcount is now working with while and if statement Pin
Goutam Patra27-Aug-10 2:16
professionalGoutam Patra27-Aug-10 2:16 
GeneralRe: @@rowcount is now working with while and if statement Pin
Corporal Agarn27-Aug-10 3:49
professionalCorporal Agarn27-Aug-10 3:49 
Questionsql function for day of week Pin
Thanusree Duth26-Aug-10 23:09
Thanusree Duth26-Aug-10 23:09 
AnswerRe: sql function for day of week Pin
Mycroft Holmes26-Aug-10 23:20
professionalMycroft Holmes26-Aug-10 23:20 
AnswerRe: sql function for day of week Pin
Corporal Agarn27-Aug-10 3:55
professionalCorporal Agarn27-Aug-10 3:55 
AnswerRe: sql function for day of week Pin
dave_1610871-Sep-10 22:54
dave_1610871-Sep-10 22:54 
QuestionSending email from ms Access using CDO , Problem ? Pin
dcode2526-Aug-10 8:30
dcode2526-Aug-10 8:30 
Hello !
i'm developping an ms-access database , and i need to send emails with attachment.i use CDO to send emails.

this is my code :
-------------------------------------------------
Dim cdoConfig As Object
Dim msgOne As Object
With cdoConfig.Fields
.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "smtp.mail.yahoo.com"
.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
.Item("http://schemas.microsoft.com/cdo/configuration/sendusername") = "myusername"
.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "mypassword"
.Update
End With

Set msgOne = CreateObject("CDO.Message")
Set msgOne.Configuration = cdoConfig
msgOne.To = "adress@hotmail.com"
msgOne.From = "myusername@yahoo.com"
msgOne.Subject = "test"
msgOne.TextBody = "this is a test"
msgOne.AddAttachment "c:\test.txt"
msgOne.Send
-------------------------------------------------

The code is working but only sometimes.So i send email , no error is displaying , but the email is not received , or in rare cases the email arrive after 3-4 hours or more.but in 30 emails sended only 1 or 2 arrives.

Is very strange because i don't get any error message.
Can you help me !
Thank you in advance.
AnswerRe: Sending email from ms Access using CDO , Problem ? Pin
Blue_Boy26-Aug-10 22:01
Blue_Boy26-Aug-10 22:01 
GeneralRe: Sending email from ms Access using CDO , Problem ? Pin
dcode2527-Aug-10 0:57
dcode2527-Aug-10 0:57 
AnswerRe: Sending email from ms Access using CDO , Problem ? Pin
jchalfant27-Aug-10 16:17
jchalfant27-Aug-10 16:17 
GeneralRe: Sending email from ms Access using CDO , Problem ? Pin
dcode2528-Aug-10 0:12
dcode2528-Aug-10 0:12 
GeneralRe: Sending email from ms Access using CDO , Problem ? Pin
jchalfant30-Aug-10 2:36
jchalfant30-Aug-10 2:36 
QuestionSQL DATABASE Pin
It_tech26-Aug-10 6:47
It_tech26-Aug-10 6:47 
AnswerRe: SQL DATABASE Pin
dan!sh 26-Aug-10 6:55
professional dan!sh 26-Aug-10 6:55 
GeneralRe: SQL DATABASE Pin
It_tech26-Aug-10 7:52
It_tech26-Aug-10 7:52 
GeneralRe: SQL DATABASE Pin
dan!sh 26-Aug-10 22:33
professional dan!sh 26-Aug-10 22:33 
GeneralRe: SQL DATABASE Pin
SilimSayo10-Sep-10 8:25
SilimSayo10-Sep-10 8:25 
AnswerRe: SQL DATABASE [modified] Pin
Eddy Vluggen26-Aug-10 8:41
professionalEddy Vluggen26-Aug-10 8:41 
GeneralRe: SQL DATABASE Pin
PIEBALDconsult27-Aug-10 3:16
mvePIEBALDconsult27-Aug-10 3:16 
GeneralRe: SQL DATABASE Pin
SilimSayo27-Aug-10 6:01
SilimSayo27-Aug-10 6:01 
GeneralRe: SQL DATABASE Pin
Eddy Vluggen27-Aug-10 7:13
professionalEddy Vluggen27-Aug-10 7:13 
GeneralRe: SQL DATABASE Pin
PIEBALDconsult27-Aug-10 14:47
mvePIEBALDconsult27-Aug-10 14:47 
GeneralRe: SQL DATABASE Pin
SilimSayo10-Sep-10 8:23
SilimSayo10-Sep-10 8:23 
QuestionVariants of SQL Server Pin
john john mackey26-Aug-10 6:14
john john mackey26-Aug-10 6:14 

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.