如何在'电子邮件订阅'中获取实际/当前的电子邮件地址视图? 这是我的代码:
Mail::send('emails.subscribed', $data, function($message) use ($subject,$recievers,$meta) {
foreach ($recievers as $email) {
$message->bcc($email,$email);
$message->email = $email;
}
});
我需要获取当前电子邮件地址的视图(不是整个电子邮件数据只是当前的):
{{$somehow->email}}
答案 0 :(得分:0)
逐个发送电子邮件,而不是全部发送电子邮件,然后您可以轻松更改电子邮件视图:
Email: {{ $recipient['email'] }}
Name: {{ $recipient['name'] }}
查看emails.subscribed.blade.php:
lineaGuida_Img = [SKTexture textureWithImageNamed:@"LineaGuida copia.jpeg"];
_Linea = [SKNode node];
_Linea.position = CGPointMake((self.frame.size.width / 7 ) * 2, self.frame.size.height / 2 );
_Linea.zPosition = -10;
SKSpriteNode * linea = [SKSpriteNode spriteNodeWithTexture:lineaGuida_Img];
linea.position = CGPointMake(0,0);
linea.physicsBody = [SKPhysicsBody bodyWithRectangleOfSize:linea.size];
linea.physicsBody.dynamic = FALSE;
linea.physicsBody.collisionBitMask = 0;
linea.physicsBody.categoryBitMask = CollisionEnemy;
[_Linea addChild:linea];
[self addChild:_Linea];