SimpleMailer Forum Board
The Forum Board for the SimpleMailer extension

thanks for the reply .. so i dont have to go http://localhost/atl...s/SimpleMailer/ ... this is wrong right .. if i directly try to go to simplemailer it says it dosent exist .... yea can you send me the code which renders the simplemailer in coloumn2 .. also i dont have a casesensitive so the default would be true right ... or do i have to define a casesensitive and if you can send a small example code that would be of great help ... thanks a lot

Let's just forget about the view layout (the column2 thing). Check your installation of SimpleMailer. Be sure you're following to the letter the installation instructions because seems like it is not installed at all.

i installed it again man ... i am still confused with crontab command ... how to save it ??
but i should be able to access simple mailer .. which i am not able to do so .... can you please create a demo of simple mailer or something ... i am sorry i am asking for a lot .. but i have tried almost everything i knew and it still dosent work .. i need to implement this .. please help me with this .. thanks a lot ..

If you're using Windows I'm afraid I can't help you since I use Linux. You always have Google to find out how to do things.

I'm gonna give you some instructions, however.

For crontab, at the console type:

crontab -e

Copy and paste the crontab lines into the editor and then save.

The installation document is quite explicit. I can't tell you more because already everything is there. Also I can't give you a 'example code' because all you need to know is exactly in the documentation.

Look for someone there were you work for help on how to do the required things in Linux.

hey chirvo you were right .. i was following the instructions but somewhere i was making a mistake .. so the simple mailer works nicely thanks a lot ..
i still have 2 questions :
1- how to send different templates to different users .
2- and when i copy the link to the body it just send the link in the mail .. i want to send the page .. what am i doing wrong here ?

Hey, for a solution to the limitation not being able to send to a list with a template, its simple, just add the name, lastname, etc fields in the same "SELECT email,name,etc FROM profile WHERE location='atlantis';" sql query, and just fetch those values

Hey, for a solution to the limitation not being able to send to a list with a template, its simple, just add the name, lastname, etc fields in the same "SELECT email,name,etc FROM profile WHERE location='atlantis';" sql query, and just fetch those values

Interesting. I can map the table columns names to template variables, as in 'name' would map to __NAME__. That, as you say, will definitely overcome the limitation of not being able to personalize emails when sending to a list.

Thank you. That's a simple, clever solution. I'll implement this as soon as I can.

There's a new version of SimpleMailer at GitHub. Consider it unstable. If you're gonna test it I'll be glad to hear you guys giving me feedback.

The new things are:

- Now Mailing Lists support template vars (thanks to @grod for the idea).
- Classes were renamed, stripping the 'Simple' prefix.
- Now the installation should be in the 'modules/mailer' folder, solving the issue of the case sensitive URLs (@yugene discovered the issue months ago).
- Changed the titles/link texts for the views to make them more consistent.

I'm going to test it for a while. In a week or so I'll be launching a new version of SimpleMailer if everything goes well.

I'm just starting to implement this extension in a project. Thanks to Chirvo and Yuga for all the great work.

For some reason I wasn't able to get the db migration to work using yiic. In case anyone else had the same problem as I did, or anyone is trying this without access to a terminal session on the server (thus no yiic), here is a SQL dump of the tables that have to be created: