Hi,
I've a simple php script stored as static text in a snippet.
The php script does send an email.
If i directly access the php file on the server the mail is send. If I access it via the snippet it is not (having it embed in a ressource).
The snippet and file is correct addressed as I see the return value if I access it via the snippet but simply the mail is not sent.
What can i do?
Best regards,
Stefan
Are you calling the snippet uncached (with the exclamation point -- !). If not, try that.
I do. Actually I always call snippets with the !.
Really cant figure it out. If i access it directly it works just fine.
And i have latest modx and lates php installed (but was already before not very reliable).
Try installing the QuickEmail extra and see if it sends email within MODX. If not, it may give you a clue in debug mode.