PC Review


Reply
 
 
Paul W Smith
Guest
Posts: n/a
 
      25th Feb 2009
I am using Ron de Bruin's quite excellent code.

Howveer is it possible to test to know if am Email was actually sent? As an
example if iMsg.To is set to 0, I am looping through a set of email
addresses stored in a DB, and the query returns 0 when no Email address is
present, no Email is sent but the code does not error when using 0 as a To
address.

If the answer is I have to test every variable and that I am on-line to know
something has been sent then let me know. However I am sure the question I
am asking has been asked many times so I wonder what the answer is.

PWS


 
Reply With Quote
 
 
 
 
Ron de Bruin
Guest
Posts: n/a
 
      25th Feb 2009
Test if there is a mail address in the cell in the loop

If cell.Value Like "?*@?*.?*" Then



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Paul W Smith" <(E-Mail Removed)> wrote in message news:u%23cMf$(E-Mail Removed)...
>I am using Ron de Bruin's quite excellent code.
>
> Howveer is it possible to test to know if am Email was actually sent? As an
> example if iMsg.To is set to 0, I am looping through a set of email
> addresses stored in a DB, and the query returns 0 when no Email address is
> present, no Email is sent but the code does not error when using 0 as a To
> address.
>
> If the answer is I have to test every variable and that I am on-line to know
> something has been sent then let me know. However I am sure the question I
> am asking has been asked many times so I wonder what the answer is.
>
> PWS
>
>

 
Reply With Quote
 
Paul W Smith
Guest
Posts: n/a
 
      25th Feb 2009
It's not really the Email address, what I am wanting to know is if there is
a test to know that the Email was actually sent.

I could write a function that returns true or false, but in my limited
experience the .send line of code executes without error, but the Email does
not get sent.

Do you know of a way of testing if the Email gets sent?

I copy myself on as a BCC but this is a manual test not one I can check in
code.

PWS



"Ron de Bruin" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Test if there is a mail address in the cell in the loop
>
> If cell.Value Like "?*@?*.?*" Then
>
>
>
> --
>
> Regards Ron de Bruin
> http://www.rondebruin.nl/tips.htm
>
>
> "Paul W Smith" <(E-Mail Removed)> wrote in message
> news:u%23cMf$(E-Mail Removed)...
>>I am using Ron de Bruin's quite excellent code.
>>
>> Howveer is it possible to test to know if am Email was actually sent? As
>> an example if iMsg.To is set to 0, I am looping through a set of email
>> addresses stored in a DB, and the query returns 0 when no Email address
>> is present, no Email is sent but the code does not error when using 0 as
>> a To address.
>>
>> If the answer is I have to test every variable and that I am on-line to
>> know something has been sent then let me know. However I am sure the
>> question I am asking has been asked many times so I wonder what the
>> answer is.
>>
>> PWS
>>

>



 
Reply With Quote
 
Ron de Bruin
Guest
Posts: n/a
 
      25th Feb 2009
Hi Paul

No good way that I know of.
But I not spend much time looking for that

Now with Outlook 2007 CDO is not needed anymore because
there are no security warnings anymore if your AV is ok

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Paul W Smith" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> It's not really the Email address, what I am wanting to know is if there is
> a test to know that the Email was actually sent.
>
> I could write a function that returns true or false, but in my limited
> experience the .send line of code executes without error, but the Email does
> not get sent.
>
> Do you know of a way of testing if the Email gets sent?
>
> I copy myself on as a BCC but this is a manual test not one I can check in
> code.
>
> PWS
>
>
>
> "Ron de Bruin" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Test if there is a mail address in the cell in the loop
>>
>> If cell.Value Like "?*@?*.?*" Then
>>
>>
>>
>> --
>>
>> Regards Ron de Bruin
>> http://www.rondebruin.nl/tips.htm
>>
>>
>> "Paul W Smith" <(E-Mail Removed)> wrote in message
>> news:u%23cMf$(E-Mail Removed)...
>>>I am using Ron de Bruin's quite excellent code.
>>>
>>> Howveer is it possible to test to know if am Email was actually sent? As
>>> an example if iMsg.To is set to 0, I am looping through a set of email
>>> addresses stored in a DB, and the query returns 0 when no Email address
>>> is present, no Email is sent but the code does not error when using 0 as
>>> a To address.
>>>
>>> If the answer is I have to test every variable and that I am on-line to
>>> know something has been sent then let me know. However I am sure the
>>> question I am asking has been asked many times so I wonder what the
>>> answer is.
>>>
>>> PWS
>>>

>>

>
>

 
Reply With Quote
 
Paul W Smith
Guest
Posts: n/a
 
      26th Feb 2009
Thanks Ron, I guess if you do not know of a way, there probably isn't one.

Would love to use Outlook 2007, but client still uses Excel 2003.

PWS



"Ron de Bruin" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Paul
>
> No good way that I know of.
> But I not spend much time looking for that
>
> Now with Outlook 2007 CDO is not needed anymore because
> there are no security warnings anymore if your AV is ok
>
> --
>
> Regards Ron de Bruin
> http://www.rondebruin.nl/tips.htm
>
>
> "Paul W Smith" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> It's not really the Email address, what I am wanting to know is if there
>> is a test to know that the Email was actually sent.
>>
>> I could write a function that returns true or false, but in my limited
>> experience the .send line of code executes without error, but the Email
>> does not get sent.
>>
>> Do you know of a way of testing if the Email gets sent?
>>
>> I copy myself on as a BCC but this is a manual test not one I can check
>> in code.
>>
>> PWS
>>
>>
>>
>> "Ron de Bruin" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> Test if there is a mail address in the cell in the loop
>>>
>>> If cell.Value Like "?*@?*.?*" Then
>>>
>>>
>>>
>>> --
>>>
>>> Regards Ron de Bruin
>>> http://www.rondebruin.nl/tips.htm
>>>
>>>
>>> "Paul W Smith" <(E-Mail Removed)> wrote in message
>>> news:u%23cMf$(E-Mail Removed)...
>>>>I am using Ron de Bruin's quite excellent code.
>>>>
>>>> Howveer is it possible to test to know if am Email was actually sent?
>>>> As an example if iMsg.To is set to 0, I am looping through a set of
>>>> email addresses stored in a DB, and the query returns 0 when no Email
>>>> address is present, no Email is sent but the code does not error when
>>>> using 0 as a To address.
>>>>
>>>> If the answer is I have to test every variable and that I am on-line to
>>>> know something has been sent then let me know. However I am sure the
>>>> question I am asking has been asked many times so I wonder what the
>>>> answer is.
>>>>
>>>> PWS
>>>>
>>>

>>

>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to send ( e-mail containing 2 links ) from a small time e-mail software to a coporation's network e-mail personnel? Don Rago Microsoft Access 2 15th Aug 2009 06:24 PM
using vista mail program with earthlink http mail: error message when sending, can you download mail without deleting from server Michael Brown Microsoft Access 1 14th Nov 2007 04:44 PM
Mail - new mail is not created when use Windows Photo Gallery to send by e-mail Fernando_R Windows Vista Mail 1 28th Mar 2007 06:05 AM
Select distinct e-mail address from 1 table with 2 columns/e-mail to 1 column/e-mail NielsM Microsoft Access Queries 0 4th Oct 2006 11:07 PM
How to check mail being opening in inspector is existing mail or new mail which user is going to create? Mat Microsoft Outlook Program Addins 1 20th Sep 2003 01:49 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:16 PM.