eXceem

Go Back   eXceem > Freebie Chat > How to get greens

Claim your amazing £1,000 slots booster bonus now!


Emailing reds

This is a discussion on Emailing reds within the How to get greens forums, part of the Freebie Chat category; I have been emailing reds for quite a while now, with some but little succes. I have been toying with ...

Reply
 
Thread Tools
Old 04-02-10, 11:02 PM   #1
iBook
 
grabrail's Avatar
 
Join Date: Dec 2006
Location: Nottingham
Posts: 2,325
grabrail is a name known to allgrabrail is a name known to allgrabrail is a name known to allgrabrail is a name known to all
Send a message via MSN to grabrail

Emailing reds


I have been emailing reds for quite a while now, with some but little succes.

I have been toying with making this process a bit easier, so I have been toying with Macros using Microsoft Excell

Basically, you create a macro in Excel using the following code.

Then you export your list of reds from FJ for e.g. and format the colums so that column A is blank, column B has the email address and column C has the word yes in it. (the yes is for yes i want to send this person an email)

you then run the macro and it will work its way through line by line sending each one an individual email.

I have only used this in excel with outlook as the mail client, but may also work for outlook express and windows live mail, i dont know

Hope this helps some of you.

(Im not taking full credit for this, I have 'borrowed' code from the tinterweb and pieced bits and pieces together)

------Code-----

Sub sendmail()
Dim OutApp As Object
Dim OutMail As Object
Dim cell As Range

Application.ScreenUpdating = False
Set OutApp = CreateObject("Outlook.Application")
OutApp.Session.Logon

On Error GoTo cleanup
For Each cell In Columns("B").Cells.SpecialCells(xlCellTypeConstant s)
If cell.Value Like "?*@?*.?*" And _
LCase(Cells(cell.Row, "C").Value) = "yes" _
And LCase(Cells(cell.Row, "D").Value) <> "send" Then

Set OutMail = OutApp.CreateItem(0)

On Error Resume Next
With OutMail
.To = cell.Value
.Subject = "Reminder"
.Body = "Hi " & Cells(cell.Row, "A").Value _
& vbNewLine & vbNewLine & _
"Modify here to enter your message " & _
"continue your message here"
'You can add files also like this
'.Attachments.Add ("C:\test.txt")
.Send 'Or use Display
End With
On Error GoTo 0
Cells(cell.Row, "D").Value = "send"
Set OutMail = Nothing
End If
Next cell

cleanup:
Set OutApp = Nothing
Application.ScreenUpdating = True
End Sub

Last edited by grabrail; 04-02-10 at 11:02 PM..
 
Reply With Quote
Reply

Thread Tools

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 Off
Pingbacks are On
Refbacks are Off





All times are GMT. The time now is 06:35 PM.
All trademarks and copyrights held by respective owners. Forum posts are owned by the poster.

Powered by vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO
no new posts