You can also use the phpmailer() class included with MODx and configure it to use SMTP through any mail service you have an account at. That way it will work locally and on a remote site that has the php mail() function disabled.
Hi All
thanks for all the tips above - but I’m also lost with the basics of setting up my xampp installation to handle emails. I have scanned the wiki, help docs, etc. but found nothing.
Perhaps it is so patently simple that no-one even bothers to discuss it :’(
have mercy on me (and others hopefully) and point me in the right direction.
I just had a brainwave - the Xampp website...
Quote from: nue at Oct 22, 2009, 10:56 PM
Hi All
thanks for all the tips above - but I’m also lost with the basics of setting up my xampp installation to handle emails. I have scanned the wiki, help docs, etc. but found nothing.
Perhaps it is so patently simple that no-one even bothers to discuss it :’(
have mercy on me (and others hopefully) and point me in the right direction.
I just had a brainwave - the Xampp website...
XAMPP comes with the Mercury mail server and also sendmail. I was never able to get them to work in Vista, though I admit that I didn’t really try that hard. I just configured the individual snippets I use inside MODx to use an external SMTP account I have. That means that I don’t have to change anything when I move the site to the remote server or worry about the host turning off the mail() function.
Thanks BobRay,
I saw the mercury mail and it looks OK. But I could not make the connection between that and an eForm...
Regardless; I like your thinking - and that is exactly what I want to do (use my current SMTP provider).
The part that I am getting stuck at is: "configured the individual snippets". What do you have to do?
Can you perhaps post an example? Your help really appreciated...
NUE
Quote from: nue at Oct 22, 2009, 11:47 PM
Thanks BobRay,
I saw the mercury mail and it looks OK. But I could not make the connection between that and an eForm...
Regardless; I like your thinking - and that is exactly what I want to do (use my current SMTP provider).
The part that I am getting stuck at is: "configured the individual snippets". What do you have to do?
Can you perhaps post an example? Your help really appreciated...
NUE
I’m most familiar with SPForm. Using SMTP with is is just a matter of setting some options in the config file (or the snippet properties in Revolution). They’re well documented in the config file.
With eForm you can either edit the snippet code or edit the phpmailer.inc.php file. If you do the latter, I believe MODx will also use SMTP to send things like registration emails etc.
Search the forums for "eform SMTP" (without the quotes) and you should find some pointers.
If you search the forums for
Congratulations!
I was never able to pull that off, though I put a lot of hours into trying.
Revolution will send mail() calls via SMTP, which is what I do now.