[ixpmanager] Form Mail
Barry O'Donovan
barry.odonovan at inex.ie
Tue Jul 5 14:05:26 IST 2016
Hi Mike,
this is the version we use in production without issue:
https://github.com/inex/IXP-Manager/blob/master/application/views/_skins/inex/customer/email/welcome-email.phtml
Maybe copy that over for a trial run and see if it works?
- Barry
Mike Hammett wrote:
> Right, I took the INEX form, put it into my skins folder and have been
> modifying it for my own use. I can never get that bit of code to
> actually process, putting the MD5s into the letter. Well, none of that
> output shows up.
>
>
>
> -----
> Mike Hammett
>
> Intelligent Computing Solutions <http://www.ics-il.com/>
> <https://www.facebook.com/ICSIL><https://plus.google.com/+IntelligentComputingSolutionsDeKalb><https://www.linkedin.com/company/intelligent-computing-solutions><https://twitter.com/ICSIL>
>
> Midwest Internet Exchange <http://www.midwest-ix.com/>
> <https://www.facebook.com/mdwestix><https://www.linkedin.com/company/midwest-internet-exchange><https://twitter.com/mdwestix>
>
> The Brothers WISP <http://www.thebrotherswisp.com/>
> <https://www.facebook.com/thebrotherswisp><https://www.youtube.com/channel/UCXSdfxQv7SpoRQYNyLwntZg>
> ------------------------------------------------------------------------
> *From: *"Barry O'Donovan" <barry.odonovan at inex.ie>
> *To: *"INEX IXP Manager Mailing List" <ixpmanager at inex.ie>
> *Sent: *Tuesday, July 5, 2016 12:55:59 AM
> *Subject: *Re: [ixpmanager] Form Mail
>
>
> Hi Mike,
>
> looks like you cut this from:
>
> application/views/_skins/inex/customer/email/welcome-email.phtml
>
> If so, the trigger is on the customer overview page of any customer:
>
> 1. select the gear icon on the top right
> 2. select "Send Welcome Email..." from the drop down
>
> The below is INEX specific so you'll need to skin that file for your own
> use:
>
> https://github.com/inex/IXP-Manager/wiki/Skinning
>
> - Barry
>
>
> Mike Hammett wrote:
> > {foreach $customer->getVirtualInterfaces() as $connection}
> > {foreach $connection->getVlanInterfaces() as $vli}
> > {if $vli->getVlan()->getNumber() eq 10}
> >
> > Peering VLAN #1
> > IPv6 address: 2001:7F8:18::F:0:1
> > IPv6 session MD5: {$vli->getIpv6bgpmd5secret()}
> >
> > IPv4 address: 193.242.111.126
> > IPv4 session MD5: {$vli->getIpv4bgpmd5secret()}
> > {elseif $vli->getVlan()->getNumber() eq 12}
> >
> > Peering VLAN #2
> > IPv6 address: 2001:7F8:18:12::9999
> > IPv6 session MD5: {$vli->getIpv6bgpmd5secret()}
> >
> > IPv4 address : 194.88.240.126
> > IPv4 session MD5: {$vli->getIpv4bgpmd5secret()}
> > {/if}
> >
> > {/foreach}
> > {/foreach}
> >
> >
> >
> > I'm not exactly sure how to get this part of the template to trigger.
> >
> >
> >
> > -----
> > Mike Hammett
> >
> > Intelligent Computing Solutions <http://www.ics-il.com/>
> >
> <https://www.facebook.com/ICSIL><https://plus.google.com/+IntelligentComputingSolutionsDeKalb><https://www.linkedin.com/company/intelligent-computing-solutions><https://twitter.com/ICSIL>
> >
> > Midwest Internet Exchange <http://www.midwest-ix.com/>
> >
> <https://www.facebook.com/mdwestix><https://www.linkedin.com/company/midwest-internet-exchange><https://twitter.com/mdwestix>
> >
> > The Brothers WISP <http://www.thebrotherswisp.com/>
> >
> <https://www.facebook.com/thebrotherswisp><https://www.youtube.com/channel/UCXSdfxQv7SpoRQYNyLwntZg>
> >
> > _______________________________________________
> > INEX IXP Manager mailing list
> > ixpmanager at inex.ie
> > https://www.inex.ie/mailman/listinfo/ixpmanager
>
> --
>
> Kind regards,
> Barry O'Donovan
> INEX Operations
>
> https://www.inex.ie/support/
> +353 1 531 3339
>
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> https://www.inex.ie/mailman/listinfo/ixpmanager
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> https://www.inex.ie/mailman/listinfo/ixpmanager
--
Kind regards,
Barry O'Donovan
INEX Operations
https://www.inex.ie/support/
+353 1 531 3339
More information about the ixpmanager
mailing list