This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

Some email questions


  1. Pangdene
    Member

    Hi,

    1. Return-path on emails seem to default to 'nobody' - can this be changed and if not, does this increase the chance of the mail being trapped as spam?

    2. Do you have plans to make messages multipart, i.e. both html & text?

    Thanks
    P :)

    Posted 16 years ago #
  2. yuniar

    1) Yes, you can change this easily by modifying your config.php file.

    2) I don't have any plan yet, but this seems to be quite make sense. I'm putting this into our feature request list.


    MachForm Founder

    Posted 16 years ago #
  3. Pangdene
    Member

    Hi Yuniar,

    1 - I've changed NOTIFICATION_MAIL_FROM but this hasn't changed anything?

    2. Okay - that wold be great!

    Regards
    P :)

    Posted 16 years ago #
  4. yuniar

    Pangdene, try go to "Emails" section and resubmit your mail settings.
    Let me know how it goes.


    MachForm Founder

    Posted 16 years ago #
  5. Pangdene
    Member

    Hi Yuniar,

    Unfortunately that didn't resolve the problem.
    When viewing email headers, the address in Return-path is 'nobody@servername.com'.

    In email settings (and in NOTIFICATION_MAIL_FROM) the From is set to 'admin@mydomain.com'

    Can you think of anything else I need to change?

    Thanks
    Regards
    P :)

    Posted 16 years ago #
  6. yuniar

    Ahh.. you mean "Return-Path" header.
    Sorry, my mind was thinking something else.

    Actually, if you checked MachForm code, it already set the "Return-Path" header to be the same as your "From" address.

    However, it depends on your mail server policy, it might be overriden during sending.
    I've experienced this issue before, using sendmail and postfix.

    The solution was to use SMTP mode. Can you use SMTP mode?

    Try this, edit your config.php and search this code:

    define('USE_SMTP',false);

    change it to:

    define('USE_SMTP',true);


    MachForm Founder

    Posted 16 years ago #
  7. Pangdene
    Member

    Hi Yuniar,

    yes, that is what I meant and thank you - using SMTP has fixed this for me!

    Regards
    P :)

    Posted 16 years ago #

RSS feed for this topic

Reply