RobR Posted October 20, 2004 Posted October 20, 2004 I'd like to send a confirmation email once a record is created by a webuser. I was able to do so by redirecting the brower to an intermediate "submitting" page that included the following code: <META HTTP-EQUIV="refresh" content = " 3; URL=FMPro?-db=ABCD.fp5&-format=thanks.html&-mailto=[FMP-Field: Lister Email]&[email protected]&[email protected]&-mailsub=Thanks for your submission&-mailhost=mail.abcd.com&-mailformat=mail.txt&-recid=[FMP-Currentrecid]&-Find"> Then I moved the server in-house, and my new ISP requires SMTP authentication for all outgoing mail. Anyone know if I can drop authentication code in here?
Steve T. Posted October 21, 2004 Posted October 21, 2004 Howdy.. I don't know how to authenticate to your ISP's smtp mail server, but you could probably turn your FMP server into an SMTP mail server and just bypass your ISP altogether. Unless I am misremembering, OS X 10.3 comes with PostFix preinstalled (alternative to the Sendmail unix app) so you may want to look into that instead. I don't remember having to do anything special to activiate it, but I use my computer at work for development so I've enabled Apache web sharing, installed PHP and MySQL, and while testing PHP e-mail functions, I think I successfully was sending messages from my computer without any other mail server being involved... I cannot be certain because I work on so many systems and servers, I get confused sometimes, but I think you're all set with what you've already got (Panther out of the box). --ST
RobR Posted October 21, 2004 Author Posted October 21, 2004 Steve, thanks. Yes, I'm running Postfix on my server and the OSX front end allows for messages to be relayed thru the ISP to avoid (I guess) rejection from recipient mail servers. I had relay enabled, but I disabled it and now essentially use my server as a direct SMTP server. That is the fix. The relay bit is the issue. Since FMP is sending via the ISP, and the ISP requires authentication with a log/pass to allow you to use it. "Mailhost" I do not think allows for the insertion of any kind of log/pass within the CDML, so you are out of luck if you want to use "mailhost" with an SMTP server requiring authentication IMO. I believe FMP can be jiggered to send the mail, but I haven't checked that out yet. Somewhere on my todo list. Cheers.
Recommended Posts
This topic is 7330 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now