GetSimple Support Forum
SMTP option for contact form - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Feature Requests (http://get-simple.info/forums/forumdisplay.php?fid=7)
+--- Thread: SMTP option for contact form (/showthread.php?tid=90)



SMTP option for contact form - donovanh - 2009-08-22

Hi,

Emails sent using php's mail function from my server seem to end up by Google's spam filter. I use Google Apps so it would be very helpful to be able to use the smtp option for sending mail via gmail. This should avoid spam issues.

Cheers,

Donovan


SMTP option for contact form - Mark Nielsen - 2011-12-01

donovanh Wrote:it would be very helpful to be able to use the smtp option for sending mail via gmail.

I also need Get Simple to support SMTP for sending email. On my server I've got phpmail disabled for security reasons, but any of the sites I host can use SMTP on localhost for sending email.

It would be interesting to get an idea of how easily Get Simple could support SMTP globally - i.e. for the password reminders as well as any email-sending plugins?

I need this functionality fairly quickly, so I can have a go at contributing a module or a patch to GS core...


SMTP option for contact form - cumbe - 2011-12-01

Hi.
I never thought on that option...
Try to adapt it to my plugin.

Regards.


SMTP option for contact form - Mark Nielsen - 2011-12-01

OK, cumbe. So, just to clarify, if I wanted to help make Get Simple capable of sending mail via SMTP (as well as just phpmail), I'd need to support:

Anything else that sends mail?

I haven't looked at the architecture of Get Simple much yet (still new to it), but do all these systems do their own mail-sending? Or does Get Simple have a mail sending API that plugins can access? The second approach would seem more sensible, wouldn't it?


SMTP option for contact form - cumbe - 2011-12-12

I have adapted class phpmailer to my plugin, Contact Form plugin: http://get-simple.info/extend/plugin/contact-form/264/.

Regards.


SMTP option for contact form - Mark Nielsen - 2011-12-12

Nice one, cumbe Smile