Hello Alex & All: Is there any way to incorporate html in the regular signup mail and the periodic emails that I want to send users? I know I can do it manually in the CP but I want to send mail to my free users encouraging them to upgrade and include my nice header image and all that and I want ALL messages sent by email to be html? Also, does the script use the sendmail on my server or on cgi-central's servers? Thanks in advance. Mike
Mike, of course, you can add line: Format: html to top of any e-mail template in aMember to send HTML email message. You can also add line: Attachment: filename.xxx and it will attach file "filename.xxx" to your e-mail message. File must be placed to amember/templates/ folder.
help on html email Hi I would be very greatfull if any one can help in giving and example on inserting html in the signup_mail.txt , i have tried several option but could not make it work, you mentioned to add Format: html ontop but when i do that the original codes of amember becomes as text. just need a small example please. thank you roni
Not sure which example could be here. May be something like this: PHP: Subject: My Welcome E-Mail Format: html Dear <i>{$name_f} {$name_l}</i>, Thank you for subscribing. Your User ID: <b>{$login}</b> Your Password: <b>{$pass}</b> Log-on to your member pages at: {$config.root_url}/member.php Best Regards, Site Team Just configure your HTML editor to don't replace { and } with special characters. Or better do all editing with an text editor.
Additional fields for sending the User email I was wondering if there is a way to add the product type & expiration date to the email we can send out to users from the Admin panel? Is there a method for adding more fields of data?
Give a little take a little...To give the exp. date in an email add the follow: {$payment.expire_date|date_format:"%m/%d/%Y"} If you find out the product code snippet...Let me know. The best way is to contact support and they will give you a straight answer. Goodluck
Hi there Is it possible to include a header file (email_header.html)with images and a footer (email_footer.html) If so how would I do it?
yes Code: Subject: My Welcome E-Mail Format: html {include file="email_header.html"} Dear <i>{$name_f} {$name_l}</i>, Thank you for subscribing. Your User ID: <b>{$login}</b> Your Password: <b>{$pass}</b> Log-on to your member pages at: {$config.root_url}/member.php Best Regards, Site Team {include file="footer.html"}
Did you save the HTML file in the same directory? I find when doing mail outs with custom headers and footers to do an absolute reference (i.e. instead of pointing images/header.jpg - as an example) i.e. http://www.mysite.com/images/header.jpg Give this a go and you may get the answer you want. Hope this helps.
Which aMember Pro version are you using? Which e-mail client? Could you contact us via helpdesk with site access info?
Problem solved! I have solved the problem. Hope this can help others with the same issue. I deleted all the " \r " in common.inc.php except of the line: $text = join("\r\n", preg_split("|\r*\n|", $text));
Using simple formatting within E-Mail Template How do I correctly use HTML formatting in the template emails (i.e. <b>, <i>)? On the "Edit E-Mail Template" page within the aMember CP, I did try selecting "HTML E-mail" from the "E-Mail Message Type" drop-down. In the E-Mail Message box, adding <b> and </b> did bold the text within, but I lose all of the the line returns and hyperlinks in the received email. Must I add these manually when switching to HTML type? Is there not a simple way of adding bold, italics, etc, within the "Plain text (default)" email message type? Thanks in advance, Brent
You could use <br /> tags for line breaks. I know it's been a couple years since this post but just thought I'd answer.