Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

"Mailhost" and SMTP Authentication

Featured Replies

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?

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

  • Author

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.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.