Actually after going through both the html from PacketFence and the html from the email I received I now see that there are many variables that are not being converted to text in the final email.
Here is the full html source for the email I received. <html lang="en"><pre style="font-size: 0;display: none;visibility: hidden;"> </pre><head><meta http-equiv=Content-Type content="text/html; charset=UTF-8"><title>Digcomp.net Mail - digcomp.net: Email activation required</title><link rel="canonical" href="https://mail.google.com/mail/"/><link rel="shortcut icon" href=" https://www.google.com/a/digcomp.net/images/favicon.ico" type="image/x-icon"><link rel="stylesheet" type="text/css" href=" https://mail.google.com/mail/u/0/h/_//?&name=c&ver=1u0jjnc8m0l4h&v=ss"><style type="text/css" nonce="6ovLkoSPImPq5weB8Z4yqQ"> @import url(" https://mail.google.com/mail/u/0/h/_//?&name=a&ver=1sthyqjwgl8hj&v=ss"); #gbar,#guser{font-size:13px;padding-right:8px;padding-top:4px !important;}#gbar{padding-left:8px;height:22px}#guser{padding-bottom:7px !important;text-align:right}.gbh,.gbd{border-top:1px solid #c9d7f1;font-size:1px}.gbh{height:0;position:absolute;top:24px;width:100%}@media all{.gb1{height:22px;margin-right:.5em;vertical-align:top}#gbar{float:left}}a.gb1,a.gb4{text-decoration:underline !important}a.gb1,a.gb4{color:#00c !important}.gbi .gb4{color:#dd8e27 !important}.gbf .gb4{color:#900 !important} </style><base href="https://mail.google.com/mail/u/0/h/xr1qwp91tovh/"><script type="text/javascript" nonce="6ovLkoSPImPq5weB8Z4yqQ"><!-- (function(){try{var win=this;while(true){if(win.parent==win)break;win.frameElement.src.substr(0,1);win=win.parent}if(win.frameElement!=null)throw"busted";}catch(e){document.write("--\x3e\x3cplaintext style\x3ddisplay:none\x3e\x3c!--");try{if(!open(location,"_top"))alert("This content cannot be framed");top.location=location}catch(d){}}})(); //--></script><script type="text/javascript" nonce="6ovLkoSPImPq5weB8Z4yqQ"><!-- //--></script></head><body bgcolor=#ffffff><div id=gbar><nobr><a target=_blank class=gb1 href="https://www.google.com/webhp?tab=mw">Search</a> <a target=_blank class=gb1 href="http://www.google.com/imghp?hl=en&tab=mi">Images</a> <b class=gb1>Gmail</b> <a target=_blank class=gb1 href=" https://groups.google.com/d/homeredir?hl=en&tab=mg">Groups</a> <a target=_blank class=gb1 href="https://contacts.google.com/?hl=en&tab=mC">Contacts</a> <a target=_blank class=gb1 href="https://maps.google.com/maps?hl=en&tab=ml">Maps</a> <a target=_blank class=gb1 href="https://www.youtube.com/?gl=US&tab=m1">YouTube</a> <a target=_blank class=gb1 href="http://www.google.com/mobile/?hl=en&tab=mD">Mobile</a> <a target=_blank class=gb1 style="text-decoration:none" href=" https://www.google.com/intl/en/about/products?tab=mh"><u>More</u> »</a></nobr></div><div id=guser width=100%><h2 class=hdn>Account Options</h2><nobr><span id=gbn class=gbi></span><span id=gbf class=gbf></span><b class=gb4>[email protected]</b> | <span id=gbe></span><a target=_blank href=" https://myaccount.google.com/?utm_source=OGB" class=gb4>Google Account</a> | <a href="?&v=prg" class=gb4>Settings</a> | <a target=_blank href="/support/?&ctx=mail&hl=en" class=gb4>Help</a> | <a target=_top id=gb_71 href="https://mail.google.com/mail/logout?hl=en" class=gb4>Sign out</a></nobr></div><div class=gbh style=left:0></div><div class=gbh style=right:0></div><table width=100% cellpadding=4 cellspacing=0 border=0 class=bn><tr><td id=bm bgcolor=#FAE5B0><b>You are currently viewing Digcomp.net Mail in basic HTML. <a href="?&at=AF6bupNEBOEa9M0E-of2WPyQ-b6cBGpJ4w&redir=/mail/u/0/&a=stsv">Switch to standard view</a></b> | <a href="?&at=AF6bupNEBOEa9M0E-of2WPyQ-b6cBGpJ4w&redir=?&a=pbhtml">Set basic HTML as default view</a></td></tr></table><table width=100% cellpadding=0 cellspacing=0 border=0><tr><td width=143 rowspan=3><h1><a href="?"><img src="https://www.google.com/a/digcomp.net/images/logo.gif" width=143 height=59 border=0 alt="Digcomp.net Mail by Google"></a></h1></td><td width=1 rowspan=3> </td><td height=25 colspan=2 align=right valign=top><tr><form action=? name=sf method=POST id=sbf><input type=hidden name=s value=q></td><td><table width=100% cellpadding=0 cellspacing=0 border=0><tr><td width=1% height=25 nowrap><input size=28 maxlength=2048 title="Search" name=q id=sbq value=""> <input type=submit name=nvp_site_mail class=search-form-submit value="Search Mail"> <input type=submit name=nvp_site_web class=search-form-submit value="Search the Web"><input type="hidden" name="at" value="AF6bupNEBOEa9M0E-of2WPyQ-b6cBGpJ4w"></td><td><font size=1> <a href="?&pv=cv&th=168598ca976b6171&v=as">Show search options</a></font><br><font size=1> <a href="?&pv=tl&v=caf">Create a filter</a></font></form></table><tr><td height=25 colspan=2> <script type="text/javascript" nonce="6ovLkoSPImPq5weB8Z4yqQ"> var searchButtonElements=document.getElementsByClassName("search-form-submit"); for(i=0;i<searchButtonElements.length;i++)searchButtonElements[i].onclick=function(event){var urlParams={"s":"q","q":document.getElementById("sbq").value};urlParams[event.target.getAttribute("name")]=event.target.getAttribute("value");var encodedParams=[];for(var param in urlParams)encodedParams.push(encodeURIComponent(param)+"\x3d"+encodeURIComponent(urlParams[param]));document.getElementById("sbf").setAttribute("action","?"+encodedParams.join("\x26"))}; </script> </table><table width=100% cellpadding=0 cellspacing=0 border=0><tr><td width=120 valign=top><table width=100% cellpadding=2 cellspacing=0 border=0 class=m><tr><td><b><a href="?&pv=cv&th=168598ca976b6171&cs=b&v=b" accesskey=c>Compose Mail</a></b><tr><td height=5><h2 class=hdn>Folders</h2><tr><td bgcolor="#C3D9FF"><b><a href="?&" accesskey=i>Inbox</a></b><tr><td><a href="?&s=r">Starred <img src=" https://ssl.gstatic.com/ui/v1/icons/mail/images/star_on_sm_2.gif" width="13" height="13" border="0" alt="star" /></a><tr><td><a href="?&s=s">Sent Mail</a><tr><td><a href="?&s=d">Drafts</a><tr><td><a href="?&s=a">All Mail</a><tr><td><h3><b><a href="?&s=m">Spam (1)</a></b></h3><tr><td><a href="?&s=t">Trash</a><tr><td height=8><tr><td><h3><b><a href="?&v=cl">Contacts</a></b></h3><tr><td height=8></table><table width=100% cellpadding=2 cellspacing=0 border=0 class=l><tr><td class=lb><h2><font color=#000000>Labels</font><br></h2><a class="ml" href="?&v=prl">Edit labels</a></td></table><td valign=top><table width=100% cellpadding=0 cellspacing=0 border=0><tr><td width=5 bgcolor="#C3D9FF"> </td><td><table width=100% cellpadding=2 cellspacing=0 border=0 bgcolor="#C3D9FF"><form action="?&" name=f method=POST><tr><td><input type=hidden name=at value="AF6bupNEBOEa9M0E-of2WPyQ-b6cBGpJ4w"><input type=hidden name=t value="168598ca976b6171"><input type=hidden name=cat value=""><b><a href="?&" class="searchPageLink">« Back to Inbox</a></b> <input type="submit" name="nvp_a_arch" value="Archive"> <input type="submit" name="nvp_a_sp" value="Report Spam"> <input type="submit" name="nvp_a_tr" value="Delete"> <select name=tact><option value="">More Actions...</option><option value=rd>Mark as read</option><option value=ur>Mark as unread</option><option value=st>Add star</option><option value=xst>Remove star</option><option value=ig>Mute</option></select> <input type=submit name=nvp_tbu_go value="Go"></td><td align=right><b>1</b> of about <b>89</b> <a href="?&th=168598ca976b6171&next=1&v=c"><b>Older ›</b></a></tr></form></table><table width=100% cellpadding=2 cellspacing=0 border=0 bgcolor="#E0ECFF"><tr><td align=right><table cellpadding=0 cellspacing=0 border=0 class=ac><tr><td><a href="?&th=168598ca976b6171&ser=AIKcX55S-3dqD0UHRUU7_tT2hwWTBpyJOg&v=pt" class=nu target=_blank><img src=" https://ssl.gstatic.com/ui/v1/icons/mail/images/print_icon.gif" width=16 height=16 border=0 alt="Print conversation"> <span class=u>Print</span></a> </td><td><a href="?&th=168598ca976b6171&v=c" class=nu target=_blank><img src=" https://ssl.gstatic.com/ui/v1/icons/mail/images/tearoff_icon.gif" width=16 height=16 border=0 alt="Open conversation in new window"> <span class=u>New window</span></a> </td></table></table><table width=98% cellpadding=0 cellspacing=0 border=0 align=center class=h><tr><td><h2><font size=+1><b>digcomp.net: Email activation required</b></font></h2> <a href="?&"><font size=1 color=#006633>Inbox</font></a> </table><table width=98% cellpadding=1 cellspacing=0 border=0 bgcolor=#cccccc align=center><tr><td><a name="m_168598ca976b6171"></a><table width=100% cellpadding=1 cellspacing=0 border=0 bgcolor=#efefef><tr><td><a href="?&at=AF6bupNEBOEa9M0E-of2WPyQ-b6cBGpJ4w&redir=?%26th%3D168598ca976b6171%26v%3Dc&m=168598ca976b6171&a=st#m_168598ca976b6171"><img src="https://ssl.gstatic.com/ui/v1/icons/mail/images/star_off_sm_2.gif" width=13 height=13 border=0 alt="Add star"></a> <h3><font color="#00681C"><b>[email protected]</b></font></h3>& lt;[email protected]></td><td align=right valign=top>Wed, Jan 16, 2019 at 8:03 PM<tr><td colspan=2>To: [email protected]<tr><td colspan=2><div class=r><font size=1><a href="?&pv=cv&th=168598ca976b6171&rm=168598ca976b6171&cs=r&v=b" accesskey=r>Reply</a> | <a href="?&pv=cv&th=168598ca976b6171&rm=168598ca976b6171&cs=ra&v=b" accesskey=a>Reply to all</a> | <a href="?&pv=cv&th=168598ca976b6171&rm=168598ca976b6171&cs=f&v=b" accesskey=f>Forward</a> | <a href="?&msg=168598ca976b6171&th=168598ca976b6171&ser=AIKcX55S-3dqD0UHRUU7_tT2hwWTBpyJOg&v=pt" target=_blank>Print</a> | <a href="?&at=AF6bupNEBOEa9M0E-of2WPyQ-b6cBGpJ4w&m=168598ca976b6171&a=dm">Delete</a> | <a href="?&th=168598ca976b6171&v=om" target=_blank>Show original</a></font></div><tr bgcolor=#ffffff><td colspan=2><div class=msg><u></u> <div style="background-color:#f2f2f2"> <div style="display:none;font-size:1px;color:#ffffff;line-height:1px;max-height:0px;max-width:0px;overflow:hidden"> Guest access to the network was requested using this email address. </div> <div style="background-color:#f2f2f2"> <div style="Margin:0px auto;max-width:600px"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:20px 0;text-align:center;vertical-align:top"> </td> </tr> </tbody> </table> </div> <div style="background:#ffffff;background-color:#ffffff;Margin:0px auto;max-width:600px"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#ffffff;background-color:#ffffff;width:100%"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:20px;text-align:center;vertical-align:top"> <div style="Margin:0px auto;max-width:560px"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:20px 0;text-align:center;vertical-align:top"> <div style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%"> <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top" width="100%"> <tr> <td align="center" style="font-size:0px;padding:0;word-break:break-word"> <div style="font-family:Helvetica,Arial,sans-serif;font-size:32px;font-weight:500;line-height:40x;text-align:center;color:#555"> Network access activation </div> </td> </tr> </table> </div> </td> </tr> </tbody> </table> </div> <div style="Margin:0px auto;max-width:560px"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:20px 0;text-align:center;vertical-align:top"> <div style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%"> <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top" width="100%"> <tr> <td style="font-size:0px;padding:10px 25px;word-break:break-word"> <p style="border-top:solid 3px #555;font-size:1;margin:0px auto;width:30px"> </p> </td> </tr> </table> </div> </td> </tr> </tbody> </table> </div> <div style="Margin:0px auto;max-width:560px"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:20px 0;padding-top:0;text-align:center;vertical-align:top"> <div style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%"> <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top" width="100%"> <tr> <td align="center" style="font-size:0px;padding:0;word-break:break-word"> <div style="font-family:Helvetica,Arial,sans-serif;font-size:13px;line-height:1;text-align:center;color:#333"> <p style="padding-bottom:20px">Hello </p> <p>Guest access to the network was requested using this email address.</p> </div> </td> </tr> </table> </div> </td> </tr> </tbody> </table> </div> <div style="Margin:0px auto;max-width:560px"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:20px 0;padding-top:0;text-align:center;vertical-align:top"> <div style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%"> <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top" width="100%"> <tr> <td align="center" style="font-size:0px;padding:10px 25px;word-break:break-word"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:separate;line-height:100%"> <tr> <td align="center" bgcolor="#348eda" role="presentation" style="border:none;border-radius:10px;padding:10px 25px" valign="middle"> <a style="background:#348eda;color:white;font-family:Helvetica,Arial,sans-serif;font-size:16px;font-weight:normal;line-height:120%;Margin:0;text-decoration:none;text-transform:none" rel="noreferrer"> Activate Access </a> </td> </tr> </table> </td> </tr> <tr> <td align="center" style="font-size:0px;padding:0;word-break:break-word"> <div style="font-family:Helvetica,Arial,sans-serif;font-size:13px;line-height:1;text-align:center;color:#333"> <p>94067097319752</p> <p>Thank you for your understanding</p> <p>Please ignore this request if you have not requested network access.</p> </div> </td> </tr> </table> </div> </td> </tr> </tbody> </table> </div> </td> </tr> </tbody> </table> </div> <div style="Margin:0px auto;max-width:600px"> <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%"> <tbody> <tr> <td style="direction:ltr;font-size:0px;padding:20px 0;text-align:center;vertical-align:top"> <div style="font-size:13px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%"> <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top" width="100%"> <tr> <td align="center" style="font-size:0px;padding:0;word-break:break-word"> <div style="font-family:Helvetica,Arial,sans-serif;font-size:13px;line-height:1;text-align:center;color:#9b9b9b"> This is a post only E-mail, please do not reply. </div> </td> </tr> </table> </div> </td> </tr> </tbody> </table> </div> </div> </div> </div></table><a name="m_"></a><table width=100% cellpadding=1 cellspacing=0 border=0 bgcolor=#e0ecff class=qr><tr><td bgcolor=#c3d9ff><b>Quick Reply</b><tr><td><table width=1% cellpadding=0 cellspacing=0 border=0 bgcolor=#e0ecff><form action="?&pv=cv&th=168598ca976b6171&at=AF6bupNEBOEa9M0E-of2WPyQ-b6cBGpJ4w&fv=cv&rm=168598ca976b6171&qrt=n&cs=qfnq&v=b" name=qrf method=POST><input type=hidden name=redir value="?&v=c"><tr><td colspan=2><table width=100% cellpadding=1 cellspacing=0 border=0><tr><td width=99%><b>To:</b> <input type=hidden name=qrr value=o>[email protected]</td><td width=1% valign=bottom><input type=submit name=nvp_bu_qtf value="More Reply Options"></td></table><tr><td><textarea name=body rows=10 cols=50 wrap=virtual> </textarea><tr><td><input type=submit name=nvp_bu_send value="Send"> <input type=submit name=nvp_bu_sd value="Save Draft"> <input type=checkbox id=haot name=haot value="qt" checked> <label for=haot>Include quoted text with reply</label></tr></form></table></table></td></tr></table><br><table width=100% cellpadding=2 cellspacing=0 border=0 bgcolor="#C3D9FF"><form action="?&" name=f method=POST><tr><td><input type=hidden name=at value="AF6bupNEBOEa9M0E-of2WPyQ-b6cBGpJ4w"><input type=hidden name=t value="168598ca976b6171"><input type=hidden name=cat value=""><b><a href="?&" class="searchPageLink">« Back to Inbox</a></b> <input type="submit" name="nvp_a_arch" value="Archive"> <input type="submit" name="nvp_a_sp" value="Report Spam"> <input type="submit" name="nvp_a_tr" value="Delete"> <select name=bact><option value="">More Actions...</option><option value=rd>Mark as read</option><option value=ur>Mark as unread</option><option value=st>Add star</option><option value=xst>Remove star</option><option value=ig>Mute</option></select> <input type=submit name=nvp_bbu_go value="Go"></td><td align=right><b>1</b> of about <b>89</b> <a href="?&th=168598ca976b6171&next=1&v=c"><b>Older ›</b></a></tr></form></table></table><table cellpadding=2 cellspacing=0 border=0 align=center class=ft><tr><td align=center>Search accurately with <a style=color:#0000CC target=_blank href=" https://support.google.com/mail/bin/answer.py?ctx=gmail&answer=7190&hl=en&authuser=0">operators</a> including <b>from:</b> <b>to:</b> <b>subject:</b>.<tr><td align=center><span style="color: #006633; font-weight: bold;">You are currently using 56 MB (0%) of your 15360 MB</span><div style="font-size: 11px; line-height: 17px;">This account is open in 1 other location at this IP (50.81.200.162). Last account activity: 0 minutes ago on this computer. <a href="?&v=ac" target="details">Details</a></div><div style="margin:5 0 10"><table cellpadding=0 cellspacing=0 border=0 class=bn><tr><td id=bm bgcolor=#FAE5B0><div style="font-size:85%;margin:3 15 3 15;">Digcomp.net Mail view: <a href="?&at=AF6bupNEBOEa9M0E-of2WPyQ-b6cBGpJ4w&redir=/mail/u/0/&a=stsv">standard</a> | <b>basic HTML</b> <a href=" https://support.google.com/mail/bin/answer.py?ctx=%67mail&answer=15049" target="_blank">Learn more</a></div></td></tr></table></div><tr><td align=center><font size=1><a href=" https://www.google.com/gmail/about/policy/" target="_blank">Program Policies</a> - <a href="https://www.google.com" target=_blank>Google Home</a></font></table><script type="text/javascript" src=" https://mail.google.com/mail/u/0/h/_//?&name=tz&ver=y9x2bdduin5g&v=mjs" nonce="6ovLkoSPImPq5weB8Z4yqQ"></script><script type="text/javascript" nonce="6ovLkoSPImPq5weB8Z4yqQ"> _tz("_80_80_104160_76_446820","?\x26v\x3dtz"); </script><script type="text/javascript" nonce="6ovLkoSPImPq5weB8Z4yqQ"> 'name\x3d"at" value\x3d0\x26name\x3dat value\x3d0\x26at\x3d0\x26amp;at\x3d0\x26'; </script></table></body></html> On Thu, Jan 17, 2019 at 12:52 PM Justin Hartman <[email protected]> wrote: > Thank you for replying > > I have looked at the source code in PacketFence and it looks like there is > supposed to be a line reading > > <td align="center" bgcolor="#348eda" role="presentation" > style="border:none;border-radius:10px;cursor:auto;padding:10px 25px;" > valign="middle"> <a href="[% activation_uri %]" > style="background:#348eda;color:white;font-family:Helvetica, Arial, > sans-serif;font-size:16px;font-weight:normal;line-height:120%;Margin:0;text-decoration:none;text-transform:none;" > target="_blank"> > [% i18n("Activate Access") %] > > But in the email received the href="[% activation_uri %]" is omitted > making the line in the email. > > <td align="center" bgcolor="#348eda" role="presentation" > style="border:none;border-radius:10px;padding:10px 25px" valign="middle"> > <a > style="background:#348eda;color:white;font-family:Helvetica,Arial,sans-serif;font-size:16px;font-weight:normal;line-height:120%;Margin:0;text-decoration:none;text-transform:none" > rel="noreferrer"> > Activate Access > > I think the variable isn't being set correctly so it is left out in the > final email but I don't know why its happening or how to fix it. > > I have the full source to the message too and can post it all if necessary > but it seems to include a lot of code related to displaying my inbox not > just the individual message. > > Justin > > > On Thu, Jan 17, 2019 at 12:10 PM Fabrice Durand via PacketFence-users < > [email protected]> wrote: > >> Hello Justin, >> >> do you have the source code of the email ? >> >> Regards >> >> Fabrice >> >> >> Le 19-01-17 à 12 h 29, Justin Hartman via PacketFence-users a écrit : >> >> Hello everyone, >> >> This is my first time posting here and I am hoping someone can shed some >> light on an issue I am having. After spending what I think was far too much >> time trying to understand the finer points of network security I managed to >> get PacketFence working with all my network devices, except for one thing. >> Whenever anyone attempts to use email activation the email that the user >> receives doesn't have a functional link to the activation page. The email >> seems to be correct except the button is just an image with no link >> attached or any way to click on it. I have tried reinstalling PacketFence >> and experienced the same result. I am currently running PacketFence 8.3 on >> Debian Jessie using gmail as an SMTP relay. I have spent a couple days >> trying to figure this out and have now come to the conclusion I need some >> help. >> >> Does anyone have any ideas? >> >> Justin Hartman >> >> >> _______________________________________________ >> PacketFence-users mailing >> [email protected]https://lists.sourceforge.net/lists/listinfo/packetfence-users >> >> -- >> Fabrice [email protected] :: +1.514.447.4918 (x135) :: >> www.inverse.ca >> Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence >> (http://packetfence.org) >> >> _______________________________________________ >> PacketFence-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/packetfence-users >> >
_______________________________________________ PacketFence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users
